Skip to content

Commit 5276e89

Browse files
committed
Fix test that opposed spec
1 parent e49a70e commit 5276e89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/qregex/rx_metachars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ b& bcd [Null regex] conjunction (&) - null right arg illegal
102102
& & [Null regex] conjunction (&) - literal must be escaped
103103
a&|b a&|b [Null regex] alternation and conjunction (&|) - parse error
104104
& & [Null regex] conjunction (&) - literal must be escaped
105-
a|&b a|&b [Null regex] alternation and conjunction (|&) - parse error
105+
a|&b a|&b y alternation and conjunction (|&) - leading & inside | is okay
106106
|d|b abc y leading alternation ignored
107107
|d|b abc y leading alternation ignored
108108
|d |b abc y leading alternation ignored

0 commit comments

Comments
 (0)