Results for ysh-regex.test.sh

statusosh
pass 29
total29
caseoshdescription
0pass /^.$/
1pass /.+/
2pass Repeat {1,3} etc.
3pass d+ digit+ !d+ !digit+
4pass Alternation and sequence
5pass Char Class Ranges
6pass Char Class Set
7pass Range with escaped characters
8pass Group ()
9pass Capture is acceptable as a group
10pass literal ''
11pass Single quotes and splicing (do what "foo $x ${x}" used to)
12pass @splice
13pass splice with capital letters
14pass Repeated String Literal With Single Char
15pass Error when unparenthesized string of more than one character is repeated
16pass Instead of $'foo\\bar' use 'foo' \\ 'bar'
17pass Negation of Character Class ![a-z]
18pass Posix and Perl class in class literals
19pass [!d] can't be negated because it's a literal character
20pass [!digit] can't be negated in POSIX ERE (but yes in Perl)
21pass Operator chars in char classes (bash-like)
22pass Operator chars in char classes (eggex)
23pass Matching ] and \ and ' and " in character classes
24pass Matching literal hyphen in character classes
25pass Char class special: ^ - ] \
26pass character class with digit [\\0] should not crash (issue #2380)
27pass Multiple digits like [25] are invalid
28pass Negation of digit not allowed
29 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped