Skip to content

Commit

Permalink
[ #256 #276 ] test case
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Dec 15, 2019
1 parent a3f66cb commit 187d825
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions testing/regression-tests/256_Regex/good01.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[x:4] /\ 'funky+identifier-umlaute:äöüß//\%#FOO
10 changes: 10 additions & 0 deletions testing/regression-tests/256_Regex/good01.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

Parse Successful!

[Abstract Syntax]

Start (Name "[x:4]") (Name "'funky+identifier-umlaute:\228\246\252\223//\\%#FOO")

[Linearized tree]

[x:4] /\ 'funky+identifier-umlaute:äöüß//\%#FOO
8 changes: 8 additions & 0 deletions testing/regression-tests/256_Regex/test.cf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- Issue #110: backslash in keyword

Start. S ::= Name "/\\" Name;

-- Issue #256: iterated difference
-- Issue #276: whitespace characters in character class

token Name (char - [ "(){};.@\"" ] - [ " \n\t" ]) + ;

0 comments on commit 187d825

Please sign in to comment.