Guest User

Untitled

a guest
Feb 19th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. Master Scope
  2. ============
  3.  
  4. string.regexp
  5.  
  6. Specific
  7. --------
  8.  
  9. \t \v \r etc…
  10.  
  11. constant.character.escape
  12.  
  13. \\
  14.  
  15. constant.character.escape.backslash
  16.  
  17. .
  18.  
  19. constant.character.any-character
  20.  
  21. \w \W \s \S \d \D \h \H
  22.  
  23. ?
  24.  
  25. ^ $
  26.  
  27. constant.other.anchor.line
  28.  
  29. \b \B
  30.  
  31. constant.other.anchor.word
  32.  
  33. \A \Z \z \G
  34.  
  35. constant.other.anchor.string
  36.  
  37. \n (Back reference)
  38.  
  39. ?
  40.  
  41. \k<name> (Back reference)
  42.  
  43. ?
  44. name entity.name.section
  45.  
  46. | (Alternation)
  47.  
  48. keyword.operator.alternation
  49.  
  50. Quantifiers
  51. -----------
  52.  
  53. ? * + {n,m} etc…
  54.  
  55. keyword.operator.quantifier
  56.  
  57. Blocks
  58. ------
  59.  
  60. (For this part all scopes would have .regexp appended)
  61.  
  62. (?#comment)
  63.  
  64. comment.block
  65.  
  66. (?imx-imx)
  67.  
  68. meta.group.options.toggle
  69.  
  70. (?imx-imx:subexp)
  71.  
  72. meta.group
  73.  
  74. (?:subexp)
  75.  
  76. meta.group.not-captured
  77.  
  78. (subexp)
  79.  
  80. meta.group
  81.  
  82. (?=subexp)
  83.  
  84. meta.group.assertion.look-ahead.positive
  85. ?=
  86.  
  87. (?!subexp)
  88.  
  89. meta.group.assertion.look-ahead.negative
  90. ?!
  91.  
  92. (?<=subexp)
  93.  
  94. meta.group.assertion.look-behind.positive
  95.  
  96. (?<!subexp)
  97.  
  98. meta.group.assertion.look-behind.negative
  99.  
  100. (?>subexp)
  101.  
  102. meta.group.atomic
  103.  
  104. (?<name>subexp)
  105.  
  106. meta.group.named
  107. name entity.name.section
  108.  
  109. [tm]
  110.  
  111. meta.character-class.positive
  112.  
  113. [^tm]
  114.  
  115. meta.character-class.negative
  116. ^ keyword.operator.negation
  117.  
  118. [:alpha:]
  119.  
  120. meta.character-class.positive
  121.  
  122. [:^alpha:]
  123.  
  124. meta.character-class.negative
  125. ^ keyword.operator.negation
Add Comment
Please, Sign In to add comment