Results for ysh-regex-api.test.sh

statusoshosh-cpp
pass 4040
total4040
caseoshosh-cppdescription
0pass pass s ~ regex and s !~ regex
1pass pass Invalid regex has libc error message
2pass pass Eggex flags to ignore case are respected
3pass pass Eggex flags to treat newlines as special are respected
4pass pass leftMatch() combined with REG_NEWLINE - interaction with ^
5pass pass Bug fix: leftMatch() can be used with a|b (ERE precedence is respected)
6pass pass Positional captures with _group
7pass pass _group() returns null when group doesn't match
8pass pass _start() and _end()
9pass pass Str->search() method returns value.Match object
10pass pass Str->search() only matches %start ^ when pos == 0
11pass pass search() and leftMatch() accept ERE string
12pass pass Str.leftMatch() can implement lexer pattern
13pass pass Named captures with m.group()
14pass pass Named captures with _group() _start() _end()
15pass pass Named Capture Decays Without Name
16pass pass Nested Named Capture Uses ( ordering
17pass pass Capture with Type Conversion Func
18pass pass Named Capture with Type Conversion Func
19pass pass Can't splice eggex with different flags
20pass pass Eggex with translation preference has arbitrary flags
21pass pass Invalid sh operation on eggex
22pass pass Long Python Example
23pass pass Regex in a loop (bug regression)
24pass pass Regex in a loop depending on var
25pass pass Regex with [ (bug regression)
26pass pass Str.replace(Str, Str)
27pass pass Str.replace(Eggex, Str)
28pass pass Str.replace(Eggex, Expr)
29pass pass Str.replace(*, Expr), $0
30pass pass Str.replace(Eggex, Expr), scopes
31pass pass Str.replace(Eggex, *, count)
32pass pass Str.replace(Str, Str), empty new/old strings
33pass pass Str.replace(Eggex, Lazy), convert_func
34pass pass Str.replace(Eggex, *), eflags
35pass pass Str.replace(Eggex, *), guard against infinite loop
36pass pass Str.replace(Eggex, *), str cannot contain NUL bytes
37pass pass Str.replace() at top level
38pass pass Str.replace() lexical scope with ^""
39pass pass Str.replace() lexical scope with ^[]
80 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped