Definition Group(?(DEFINE)
(?# var )
(?<var>[a-zA-Z_\x7f-\xff][\w\x7f-\xff]*)
(?# val )
(?<val>(?&call)|(?&str)|(?&num)|(?&bool))
(?<call>\$\{CALL\s+[a-zA-Z_\x7f-\xff][\w\x7f-\xff]*\s*\})
(?<str>"[^"]*"|'[^']*')
(?<num>\d+)
(?<bool>(?i)(?:false|true)(?-i))
) Comment: var
Group var(?<var>[a-zA-Z_\x7f-\xff][\w\x7f-\xff]*) Character Class[a-zA-Z_\x7f-\xff] a-zone character from a (9710) to z (12210) (case sensitive)
A-Zone character from A (6510) to Z (9010) (case sensitive)
_the literal _ (9510 / 1378 / 5F16)
\x7f-\xffone character from (12710) to ÿ (25510) (case sensitive)
Character Class[\w\x7f-\xff]* *matches any number of characters from the set below:
\wany word character
\x7f-\xffone character from (12710) to ÿ (25510) (case sensitive)
Comment: val
Group val(?<val>(?&call)|(?&str)|(?&num)|(?&bool)) (?&call)calls group call as a subroutine
(?&str)calls group str as a subroutine
(?&num)calls group num as a subroutine
(?&bool)calls group bool as a subroutine
Group call(?<call>\$\{CALL\s+[a-zA-Z_\x7f-\xff][\w\x7f-\xff]*\s*\}) \$the literal $ (3610 / 448 / 2416)
\{the literal { (12310 / 1738 / 7B16)
CALLthe literal text CALL (case sensitive) \s+any whitespace character, repeated at least once
Character Class[a-zA-Z_\x7f-\xff] a-zone character from a (9710) to z (12210) (case sensitive)
A-Zone character from A (6510) to Z (9010) (case sensitive)
_the literal _ (9510 / 1378 / 5F16)
\x7f-\xffone character from (12710) to ÿ (25510) (case sensitive)
Character Class[\w\x7f-\xff]* *matches any number of characters from the set below:
\wany word character
\x7f-\xffone character from (12710) to ÿ (25510) (case sensitive)
\s*any whitespace character, repeated any number of times
\}the literal } (12510 / 1758 / 7D16)
Group str(?<str>"[^"]*"|'[^']*') "the literal " (3410 / 428 / 2216)
Negated Character Class[^"]* *matches any number of characters outside the set below:
"the literal " (3410 / 428 / 2216)
"the literal " (3410 / 428 / 2216)
'the literal ' (3910 / 478 / 2716)
Negated Character Class[^']* *matches any number of characters outside the set below:
'the literal ' (3910 / 478 / 2716)
'the literal ' (3910 / 478 / 2716)
\d+a digit, repeated at least once
Group bool(?<bool>(?i)(?:false|true)(?-i)) (?i)applies the following effective flags to the remainder of the pattern: gsxi i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
Non-Capturing Group(?:false|true) falsethe literal text false (case insensitive) truethe literal text true (case insensitive) (?-i)applies the following effective flags to the remainder of the pattern: gsx i modifier: -insensitive. Case-sensitive match
Group 7((?(?=yes\${VAR\s+(?&var)\s*\=\s*(?&val)\s*\}\s)yes|no)) Condition(?(?=yes\${VAR\s+(?&var)\s*\=\s*(?&val)\s*\}\s)yes|no) \$the literal $ (3610 / 448 / 2416)
{the literal { (12310 / 1738 / 7B16)
\s+any whitespace character, repeated at least once
\s*any whitespace character, repeated any number of times
\=the literal = (6110 / 758 / 3D16)
\s*any whitespace character, repeated any number of times
\s*any whitespace character, repeated any number of times
\}the literal } (12510 / 1758 / 7D16)
g modifier: global. Finds all matches instead of stopping after the first
s modifier: single line. Allows a dot to match line terminators
x modifier: extended. Ignores unescaped whitespace and comments outside character classes