\/the literal / (4710 / 578 / 2F16)
\*the literal * (4210 / 528 / 2A16)
.*?any character, repeated any number of times
\*the literal * (4210 / 528 / 2A16)
\/the literal / (4710 / 578 / 2F16)
Comment: Multi-line comment
Condition(?(?=(?m-s:[\t ]+$)) # Get trailing whitespace if any exists and only if it's the rest of the line
[\t ]+
) Uses the first branch if the lookaround matches
Positive Lookahead(?=(?m-s:[\t ]+$)) Group with flags gxm(?m-s:[\t ]+$) m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
s modifier: -single line. A dot does not match line terminators
+matches at least one character from the set below:
\ta tab character (ASCII 9)
the literal (3210 / 408 / 2016)
$end of line
If the condition is true, match this branch: # Get trailing whitespace if any exists and only if it's the rest of the line
[\t ]+
Comment: Get trailing whitespace if any exists and only if it's the rest of the line
+matches at least one character from the set below:
\ta tab character (ASCII 9)
the literal (3210 / 408 / 2016)