(?:/\*(?:(?:[^*]|\*(?!/))*)\*/)
This was originally part of the MySQL parser, designed to split comments without removing them from the lines:
("(?:(?:(?:\\.)|[^"\\\r\n])*)"|'(?:(?:(?:\\.)|[^'\\\r\n])*)'|`(?:(?:(?:\\.)|[^`\\\r\n])*)`)|((?:-- .*)|(?:#.*)|(?:/\*(?:(?:[^*]|\*(?!/))*)\*/))
This is replaced by capture group 1 to return the rows.
source share