pass | 36 | 36 | |
FAIL | 2 | 2 | |
total | 38 | 38 | |
| | | |
0 | pass | pass | s ~ regex and s !~ regex |
1 | pass | pass | Invalid regex has libc error message |
2 | pass | pass | Eggex flags to ignore case are respected |
3 | pass | pass | Eggex flags to treat newlines as special are respected |
4 | pass | pass | Positional captures with _group |
5 | pass | pass | _group() returns null when group doesn't match |
6 | pass | pass | _start() and _end() |
7 | pass | pass | Str->search() method returns value.Match object |
8 | pass | pass | Str->search() only matches %start ^ when pos == 0 |
9 | pass | pass | search() and leftMatch() accept ERE string |
10 | pass | pass | Str.leftMatch() can implement lexer pattern |
11 | pass | pass | Named captures with m.group() |
12 | pass | pass | Named captures with _group() _start() _end() |
13 | pass | pass | Named Capture Decays Without Name |
14 | pass | pass | Nested Named Capture Uses ( ordering |
15 | pass | pass | Capture with Type Conversion Func |
16 | pass | pass | Named Capture with Type Conversion Func |
17 | pass | pass | Can't splice eggex with different flags |
18 | pass | pass | Eggex with translation preference has arbitrary flags |
19 | pass | pass | Invalid sh operation on eggex |
20 | pass | pass | Long Python Example |
21 | pass | pass | Regex in a loop (bug regression) |
22 | pass | pass | Regex in a loop depending on var |
23 | pass | pass | Regex with [ (bug regression) |
24 | pass | pass | Str.replace(Str, Str) |
25 | pass | pass | Str.replace(Eggex, Str) |
26 | pass | pass | Str.replace(Eggex, Expr) |
27 | pass | pass | Str.replace(*, Expr), $0 |
28 | pass | pass | Str.replace(Eggex, Expr), scopes |
29 | pass | pass | Str.replace(Eggex, *, count) |
30 | pass | pass | Str.replace(Str, Str), empty new/old strings |
31 | pass | pass | Str.replace(Eggex, Lazy), convert_func |
32 | pass | pass | Str.replace(Eggex, *), eflags |
33 | pass | pass | Str.replace(Eggex, *), guard against infinite loop |
34 | pass | pass | Str.replace(Eggex, *), str cannot contain NUL bytes |
35 | pass | pass | Str.replace() at top level |
36 | FAIL | FAIL | Str.replace() lexical scope with ^"" |
| details | details | |
37 | FAIL | FAIL | Str.replace() lexical scope with ^[] |
| details | details | |
osh | 36 Str.replace() lexical scope with ^""
[osh stdout] Expected '', got '<Expr>\n'
[osh status] Expected 0, got 1
stdout:
<Expr>
stderr:
var template = ^"[$x $0 $1 $x]"
^~
[ stdin ]:5: fatal: Undefined variable 'x'
|
osh_ALT | 36 Str.replace() lexical scope with ^""
[osh_ALT stdout] Expected '', got '<Expr>\n'
[osh_ALT status] Expected 0, got 1
stdout:
<Expr>
stderr:
var template = ^"[$x $0 $1 $x]"
^~
[ stdin ]:5: fatal: Undefined variable 'x'
|
osh | 37 Str.replace() lexical scope with ^[]
[osh stdout] Expected '', got '<Expr>\n'
[osh status] Expected 0, got 1
stdout:
<Expr>
stderr:
var template = ^['[' ++ x ++ ' ' ++ $0 ++ ' ' ++ $1 ++ ' ' ++ x ++ ']']
^
[ stdin ]:5: fatal: Undefined variable 'x'
|
osh_ALT | 37 Str.replace() lexical scope with ^[]
[osh_ALT stdout] Expected '', got '<Expr>\n'
[osh_ALT status] Expected 0, got 1
stdout:
<Expr>
stderr:
var template = ^['[' ++ x ++ ' ' ++ $0 ++ ' ' ++ $1 ++ ' ' ++ x ++ ']']
^
[ stdin ]:5: fatal: Undefined variable 'x'
|