Results for ysh-regex.test.sh

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