Negated Character Class[^\w] Negative Lookbehind(?<!->) Group 1(trans|trans_choice|Lang::get|Lang::choice|Lang::trans|Lang::transChoice|@lang|@choice|__) transthe literal text trans (case sensitive) 2nd Alternativetrans_choice trans_choicethe literal text trans_choice (case sensitive) Lang::getthe literal text Lang::get (case sensitive) 4th AlternativeLang::choice Lang::choicethe literal text Lang::choice (case sensitive) 5th AlternativeLang::trans Lang::transthe literal text Lang::trans (case sensitive) 6th AlternativeLang::transChoice Lang::transChoicethe literal text Lang::transChoice (case sensitive) @langthe literal text @lang (case sensitive) @choicethe literal text @choice (case sensitive) \s*any whitespace character, repeated any number of times
\(the literal ( (4010 / 508 / 2816)
\s*any whitespace character, repeated any number of times
Negative Lookbehind(?<![\\]) \\the literal \ (9210 / 1348 / 5C16)
'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
Group 3((?:.(?!(?<![\\])\2))*.?) Non-Capturing Group(?:.(?!(?<![\\])\2))* *repeats the group contents below any number of times:
.any character (except for line terminators)
Negative Lookahead(?!(?<![\\])\2) Negative Lookbehind(?<![\\]) \\the literal \ (9210 / 1348 / 5C16)
\2the text saved by group 2
.?optionally matches any character (except for line terminators)
\2the text saved by group 2
\s*any whitespace character, repeated any number of times
,the literal , (4410 / 548 / 2C16)
\)the literal ) (4110 / 518 / 2916)
g modifier: global. Finds all matches instead of stopping after the first