Skip to content

Commit

Permalink
Fix typo in (?'named') capturing group pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Alhadis committed May 27, 2021
1 parent f2795a2 commit f80165c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This project honours [Semantic Versioning](http://semver.org).
* __Added:__ Support for codepoint sequences ([Oniguruma 6.9.5+][3])
* __Added:__ Support for trailing whitespace in `\x{… }` and `\o{… }`
* __Fixed:__ Typo in `.source.regexp`'s `editor.commentEnd` setting
* __Fixed:__ Typo in `(?'named')` capturing group pattern

[3]: https://github.com/kkos/oniguruma/releases/tag/v6.9.5

Expand Down
2 changes: 1 addition & 1 deletion grammars/regexp.cson
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ repository:
{match: "\\Gassert", name: "keyword.other.assertion.regexp"}
{
# Named reference (Perl)
match: "\\G(?:(<)([^>]+)(>)|(')([^>]+)('))"
match: "\\G(?:(<)([^>]+)(>)|(')(['>]+)('))"
captures:
1: name: "punctuation.definition.group-reference.bracket.angle.begin.regexp"
2: name: "entity.group.name.regexp"
Expand Down

0 comments on commit f80165c

Please sign in to comment.