Results for ysh-regex-bytes-chars.test.sh

statusoshosh-cpp
pass 1414
FAIL 11
total1515
caseoshosh-cppdescription
0pass pass Match tab character with [\t]
1pass pass Match newline with [\n]
2pass pass ERE: 'dot' matches newline
3pass pass ERE: 'dot' matches code point represented with multiple bytes (mu = 0xce 0xbe)
4pass pass $'\xff' is disallowed in Eggex, because it's disallowed in YSH
5pass pass Match low ASCII with [\x01]
6pass pass Match low ASCII with \u{7f} - translates to valid ERE
7pass pass non-ASCII bytes must be singleton terms, e.g. b'\y7f\yff' is disallowed
8pass pass Bytes are denoted \y01 in Eggex char classes (not \x01)
9pass pass NUL byte can be expressed in Eggex, but not in ERE
10pass pass High bytes 0x80 0xff usually can't be matched - Eggex is UTF-8
11pass pass High bytes 0x80 0xff can be matched with plain ERE and LC_ALL=C
12pass pass Code points like \u{3bc} can be matched
13pass pass Code point ranges work in limited cases
14FAIL FAIL Max code point is disallowed at parse time
detailsdetails
28 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh14 Max code point is disallowed at parse time

[osh stdout] Expected '(Bool) false\n(Bool) true\n\n(Bool) false\n(Bool) true\n' Got '<Eggex>\n<Eggex>\n'

stdout:
<Eggex>
<Eggex>
stderr:
osh-cpp14 Max code point is disallowed at parse time

[osh-cpp stdout] Expected '(Bool) false\n(Bool) true\n\n(Bool) false\n(Bool) true\n' Got '<Eggex>\n<Eggex>\n'

stdout:
<Eggex>
<Eggex>
stderr: