/the literal / (4710 / 578 / 2F16)
\*the literal * (4210 / 528 / 2A16)
\*the literal * (4210 / 528 / 2A16)
Non-Capturing Group(?:[^*]*+|\*(?!/)[^*]*+)* *repeats the group contents below any number of times:
Negated Character Class[^*]*+ *+matches any number of characters outside the set below:
*the literal * (4210 / 528 / 2A16)
2nd Alternative\*(?!/)[^*]*+ \*the literal * (4210 / 528 / 2A16)
/the literal / (4710 / 578 / 2F16)
Negated Character Class[^*]*+ *+matches any number of characters outside the set below:
*the literal * (4210 / 528 / 2A16)
\*the literal * (4210 / 528 / 2A16)
/the literal / (4710 / 578 / 2F16)
Negative Lookahead(?!\s*function) \s*any whitespace character, repeated any number of times
functionthe literal text function (case sensitive) g modifier: global. Finds all matches instead of stopping after the first