Skip to content

Commit 1c7f034

Browse files
committed
Untodo tests that pass just with different errors
1 parent 8618640 commit 1c7f034

File tree

2 files changed

+12
-22
lines changed

2 files changed

+12
-22
lines changed

t/qregex/rx_charclass

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
<-[+\-]> ------ n negated escaped hyphen in range
4343
<["\\]> \\ y escaped backslash
4444
<[\]]> ] y escaped close bracket
45-
# todo :any<backslash escapes in char classes>
46-
<[\]> \\]] [error] unescaped backslash (or no closing brace)
45+
<[\]> \\]] [Unrecognized] unescaped backslash (or no closing brace)
4746
^\><[<]> >< y lt character class
4847
^<[>]>\< >< y gt character class
4948
^<[><]>**2 >< y gt, lt character class

t/qregex/rx_metachars

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,11 @@ $$ \n \n y line beginnings and endings ($$)
8383
^ [ <[a..d]>+ | <[b..e]>+ ] $ bcd y alternation (|)
8484
^ [ <[a..c]>+ | <[b..e]>+ ] $ bcd y alternation (|)
8585
^ [ <[a..d]>+ | <[c..e]>+ ] $ bcd y alternation (|)
86-
# todo :any<feature>
87-
b| bcd [Null pattern] alternation (|) - null right arg illegal
86+
b| bcd [Null regex] alternation (|) - null right arg illegal
8887
|b bcd y alternation (|) - null left arg ignored
89-
# todo :any<feature>
90-
| bcd [Null pattern] alternation (|) - null both args illegal
88+
| bcd [Null regex] alternation (|) - null both args illegal
9189
\| | y alternation (|) - literal must be escaped
92-
# todo :any<feature>
93-
| | [Null pattern] alternation (|) - literal must be escaped
90+
| | [Null regex] alternation (|) - literal must be escaped
9491
<[a..d]> && <[b..e]> c y conjunction (&&)
9592
<[a..d]> && <[d..e]> c n conjunction (&&)
9693
<[a..b]> && <[b..e]> c n conjunction (&&)
@@ -99,21 +96,15 @@ b| bcd [Null pattern] alternation (|) - null right arg illegal
9996
^ [ <[a..d]>+ && <[b..e]>+ ] $ bcd y conjunction (&&)
10097
<[a..c]>+ && <[b..e]>+ bcd y conjunction (&&)
10198
<[a..d]>+ && <[c..e]>+ bcd y conjunction (&&)
102-
# todo :any<&-conjunciton>
103-
b& bcd [rule error] conjunction (&) - null right arg illegal
104-
# todo :any<&-conjunciton>
105-
&b bcd [rule error] conjunction (&) - null left arg illegal
106-
# todo :any<&-conjunciton>
107-
& bcd [rule error] conjunction (&) - null both args illegal
99+
b& bcd [Null regex] conjunction (&) - null right arg illegal
100+
# todo :any<bug>
101+
&b bcd [Null regex] conjunction (&) - null left arg illegal
102+
& bcd [Null regex] conjunction (&) - null both args illegal
108103
\& & y conjunction (&) - literal must be escaped
109-
# todo :any<&-conjunciton>
110-
& & [rule error] conjunction (&) - literal must be escaped
111-
# todo :any<leading |>
112-
a&|b a&|b [rule error] alternation and conjunction (&|) - parse error
113-
# todo :any<&-conjunciton>
114-
& & [rule error] conjunction (&) - literal must be escaped
115-
# todo :any<&-conjunciton>
116-
a|&b a|&b [rule error] alternation and conjunction (|&) - parse error
104+
& & [Null regex] conjunction (&) - literal must be escaped
105+
a&|b a&|b [Null regex] alternation and conjunction (&|) - parse error
106+
& & [Null regex] conjunction (&) - literal must be escaped
107+
a|&b a|&b [Null regex] alternation and conjunction (|&) - parse error
117108
|d|b abc y leading alternation ignored
118109
|d|b abc y leading alternation ignored
119110
|d |b abc y leading alternation ignored

0 commit comments

Comments
 (0)