Sha256: 74acbb3d10443da9fba582c5f5e404465842823814bd7e470e2586863581a008

Contents?: true

Size: 1.42 KB

Versions: 139

Compression:

Stored size: 1.42 KB

Contents

--- 
name: Regular Expression
fileTypes: 
- re
scopeName: source.regexp
repository: 
  escaped_char: 
    name: constant.character.escape.regexp
    match: \\.
    comment: escaped character
  character_class: 
    name: keyword.control.character-class.regexp
    match: \\[wWsSdDhH]
uuid: BAFE4C4F-8D59-48CD-A3BC-52A2084531C9
foldingStartMarker: (/\*|\{|\()
patterns: 
- name: keyword.operator.regexp
  match: \|
- name: keyword.control.anchors.regexp
  match: \\[bBAZzG^$]
- include: "#character_class"
- include: "#escaped_char"
- name: keyword.control.set.regexp
  begin: \[(?:\^?\])?
  end: \]
  patterns: 
  - include: "#character_class"
  - include: "#escaped_char"
  - name: constant.other.range.regexp
    match: .-.
  - name: keyword.operator.intersection.regexp
    match: .&&.
- name: string.regexp.group
  begin: \(
  end: \)
  patterns: 
  - include: source.regexp
  - name: constant.other.assertion.regexp
    match: (?<=\()\?(<[=!]|>|=|:|!)
  - name: comment.line.number-sign.regexp
    match: (?<=\()\?#
- name: keyword.other.backref-and-recursion.regexp
  match: \\(\n\d+|\k\w+|(?<!\|)\g\w+)
- name: constant.character.escape.regexp
  match: \\([tvnrbfae]|[0-8]{3}|x\H\H\{7\H{7}\}|x\H\H|c\d+|C-\d+|M-\d+|M-\\C-\d+)
- name: keyword.operator.quantifier.regexp
  match: ((?<!\()[?*+][?+]?)|\{\d*,\d*\}
foldingStopMarker: (\*/|\}|\))
keyEquivalent: ^~R
comment: Matches Oniguruma's Ruby regexp syntax (TextMate uses Oniguruma in Ruby mode).

Version data entries

139 entries across 134 versions & 19 rubygems

Version Path
textpow-1.4.0 lib/textpow/syntax/source.regexp.syntax
spox-ultraviolet-0.10.3 syntax/regexp.syntax
spox-ultraviolet-0.10.4 syntax/regexp.syntax
vertiginous-ultraviolet-0.10.2 syntax/regexp.syntax
vertiginous-ultraviolet-0.10.3 syntax/regexp.syntax
textpow-1.3.1 lib/textpow/syntax/source.regexp.syntax
textpow-1.3.0 lib/textpow/syntax/source.regexp.syntax
textpow1x-1.2.5 lib/textpow/syntax/source.regexp.syntax
rmthemegen-0.0.47 vendor/ultraviolet-0.10.2/syntax/regexp.syntax
code_rippa-0.0.7 lib/code_rippa/syntax/regexp.syntax
code_rippa-0.0.6 lib/code_rippa/syntax/regexp.syntax
code_rippa-0.0.5 lib/code_rippa/syntax/regexp.syntax
code_rippa-0.0.4 lib/code_rippa/syntax/regexp.syntax
code_rippa-0.0.3 lib/code_rippa/syntax/regexp.syntax
code_rippa-0.0.1 lib/code_rippa/syntax/regexp.syntax
textpow1x-1.2.4 lib/textpow/syntax/source.regexp.syntax
textpow1x-1.2.3 lib/textpow/syntax/source.regexp.syntax
textpow1x-1.2.2 lib/textpow/syntax/source.regexp.syntax
textpow1x-1.2.1 lib/textpow/syntax/source.regexp.syntax
textpow1x-1.2.0 lib/textpow/syntax/source.regexp.syntax