Skip to content

Commit

Permalink
Add (failing) test cases for #94
Browse files Browse the repository at this point in the history
  • Loading branch information
FichteFoll committed Sep 1, 2017
1 parent 4e0a353 commit 5c6c3bd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ contexts:
- match: \\''
scope: constant.character.escape.regexp.yaml
push: regexp_quantifier_pop
- match: "(?=')"
- match: (?=')
pop: true

- match: '{{plain_scalar_but_not_block_key}}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@ variables:
x12: '-?{{nmstart}}{{nmchar}}*??'
# ^^ keyword.operator.quantifier
# ^ invalid.illegal.unexpected-quantifier

# TODO These two tests are failing currently (need to be reversed).
# They might be addressed later.
x13: '(?=>|[^ \t\n\$=<_+''*(),&:\[\][:alnum:]])'
# ^ keyword.operator.quantifier.regexp
x14: '[x-'']+'
# ^ - keyword.control.set.regexp


# BLOCKS #

b1: | # comment
Expand Down

0 comments on commit 5c6c3bd

Please sign in to comment.