(?s)applies the following effective flags to the remainder of the pattern: gs s modifier: single line. Allows a dot to match line terminators
\/the literal / (4710 / 578 / 2F16)
\*the literal * (4210 / 528 / 2A16)
\*the literal * (4210 / 528 / 2A16)
\s*any whitespace character, repeated any number of times
\*the literal * (4210 / 528 / 2A16)
\s*any whitespace character, repeated any number of times
@ngdoc methodthe literal text @ngdoc method (case sensitive) \na line-feed (newline) character (ASCII 10)
Non-Capturing Group(?:(?!\*\/|methodOf).)* *repeats the group contents below any number of times:
Negative Lookahead(?!\*\/|methodOf) \*the literal * (4210 / 528 / 2A16)
\/the literal / (4710 / 578 / 2F16)
methodOfthe literal text methodOf (case sensitive) .any character
\sany whitespace character
\*the literal * (4210 / 528 / 2A16)
\/the literal / (4710 / 578 / 2F16)
g modifier: global. Finds all matches instead of stopping after the first