Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Master Scope
- ============
- string.regexp
- Specific
- --------
- \t \v \r etc…
- constant.character.escape
- \\
- constant.character.escape.backslash
- .
- constant.character.any-character
- \w \W \s \S \d \D \h \H
- ?
- ^ $
- constant.other.anchor.line
- \b \B
- constant.other.anchor.word
- \A \Z \z \G
- constant.other.anchor.string
- \n (Back reference)
- ?
- \k<name> (Back reference)
- ?
- name entity.name.section
- | (Alternation)
- keyword.operator.alternation
- Quantifiers
- -----------
- ? * + {n,m} etc…
- keyword.operator.quantifier
- Blocks
- ------
- (For this part all scopes would have .regexp appended)
- (?#comment)
- comment.block
- (?imx-imx)
- meta.group.options.toggle
- (?imx-imx:subexp)
- meta.group
- (?:subexp)
- meta.group.not-captured
- (subexp)
- meta.group
- (?=subexp)
- meta.group.assertion.look-ahead.positive
- ?=
- (?!subexp)
- meta.group.assertion.look-ahead.negative
- ?!
- (?<=subexp)
- meta.group.assertion.look-behind.positive
- (?<!subexp)
- meta.group.assertion.look-behind.negative
- (?>subexp)
- meta.group.atomic
- (?<name>subexp)
- meta.group.named
- name entity.name.section
- [tm]
- meta.character-class.positive
- [^tm]
- meta.character-class.negative
- ^ keyword.operator.negation
- [:alpha:]
- meta.character-class.positive
- [:^alpha:]
- meta.character-class.negative
- ^ keyword.operator.negation
Add Comment
Please, Sign In to add comment