solorice/vscodium/extensions/magicstack.magicpython-1.1.1/test/regexp/conditional1.re
2022-04-28 21:17:01 +03:00

28 lines
1.9 KiB
C++

(<)?(\w+@\w+(?:\.\w+)+)(?(1)>|$)
( : punctuation.parenthesis.begin.regexp, source.regexp.python, support.other.parenthesis.regexp
< : source.regexp.python
) : punctuation.parenthesis.end.regexp, source.regexp.python, support.other.parenthesis.regexp
? : keyword.operator.quantifier.regexp, source.regexp.python
( : punctuation.parenthesis.begin.regexp, source.regexp.python, support.other.parenthesis.regexp
\w : source.regexp.python, support.other.escape.special.regexp
+ : keyword.operator.quantifier.regexp, source.regexp.python
@ : source.regexp.python
\w : source.regexp.python, support.other.escape.special.regexp
+ : keyword.operator.quantifier.regexp, source.regexp.python
(?: : punctuation.parenthesis.non-capturing.begin.regexp, source.regexp.python, support.other.parenthesis.regexp
\. : constant.character.escape.regexp, source.regexp.python
\w : source.regexp.python, support.other.escape.special.regexp
+ : keyword.operator.quantifier.regexp, source.regexp.python
) : punctuation.parenthesis.non-capturing.end.regexp, source.regexp.python, support.other.parenthesis.regexp
+ : keyword.operator.quantifier.regexp, source.regexp.python
) : punctuation.parenthesis.end.regexp, source.regexp.python, support.other.parenthesis.regexp
( : keyword.operator.conditional.regexp, punctuation.parenthesis.conditional.begin.regexp, source.regexp.python
?(1) : keyword.operator.conditional.regexp, source.regexp.python
> : source.regexp.python
| : keyword.operator.disjunction.regexp, source.regexp.python
$ : source.regexp.python, support.other.match.end.regexp
) : keyword.operator.conditional.negative.regexp, punctuation.parenthesis.conditional.end.regexp, source.regexp.python