\(the literal ( (4010 / 508 / 2816)
\s*any whitespace character, repeated any number of times
.+?any character (except for line terminators), repeated at least once
\s*any whitespace character, repeated any number of times
\?the literal ? (6310 / 778 / 3F16)
\s*any whitespace character, repeated any number of times
?repeats the group contents below at most once:
\(the literal ( (4010 / 508 / 2816)
\s*any whitespace character, repeated any number of times
Condition(?(-1)(.+?)\s*\)|(.+?)) Uses the first branch if group 2 matched
If the condition is true, match this branch:(.+?)\s*\) .+?any character (except for line terminators), repeated at least once
\s*any whitespace character, repeated any number of times
\)the literal ) (4110 / 518 / 2916)
Otherwise, match this branch:(.+?) .+?any character (except for line terminators), repeated at least once
\s*any whitespace character, repeated any number of times
\:the literal : (5810 / 728 / 3A16)
\s*any whitespace character, repeated any number of times
?repeats the group contents below at most once:
\(the literal ( (4010 / 508 / 2816)
\s*any whitespace character, repeated any number of times
Condition(?(-1)(.+?)\s*\)|(.+?)) Uses the first branch if group 5 matched
If the condition is true, match this branch:(.+?)\s*\) .+?any character (except for line terminators), repeated at least once
\s*any whitespace character, repeated any number of times
\)the literal ) (4110 / 518 / 2916)
Otherwise, match this branch:(.+?) .+?any character (except for line terminators), repeated at least once
\s*any whitespace character, repeated any number of times
\)the literal ) (4110 / 518 / 2916)
g modifier: global. Finds all matches instead of stopping after the first