spec test index / oilshell.org
62 passed, 5 ok, 4 known unimplemented, 0 known bugs, 3 failed, 0 skipped
| zsh | 0 BASH_REMATCH stdout: ['']stderr: |
| bash | 4 Regex quoted with single quotes stdout: stderr: |
| bash | 5 Regex quoted with double quotes stdout: stderr: |
| bash | 8 Double quoting pat variable -- again bash doesn't like it. stdout: stderr: |
| zsh | 9 Regex with == and not =~ is parse error, different lexer mode required stdout: stderr: |
| zsh | 11 Malformed regex stdout: stderr: zsh: parse error near `)' |
| osh | 12 Regex with char class [osh stdout] Expected 'true\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>'
[[ 'ba ba ' =~ ([a b]+) ]] && echo true
^
Error parsing regex '([a': Un-matched bracket list operators.
|
| osh_ALT | 12 Regex with char class [osh_ALT stdout] Expected 'true\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>'
[[ 'ba ba ' =~ ([a b]+) ]] && echo true
^
Error parsing regex '([a': Un-matched bracket list operators.
|
| osh-byterun | 12 Regex with char class [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>'
[[ 'ba ba ' =~ ([a b]+) ]] && echo true
^
Error parsing regex '([a': Un-matched bracket list operators.
|
| zsh | 13 Operators lose meaning in () in regex state (BASH_REGEX_CAHRS) stdout: stderr: zsh: parse error near `<' |
| osh | 13 Operators lose meaning in () in regex state (BASH_REGEX_CAHRS) [osh stdout] Expected 'true\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>'
[[ '< >' =~ (< >) ]] && echo true
^
Error parsing regex '(': Un-matched parenthesis group operators.
|
| osh_ALT | 13 Operators lose meaning in () in regex state (BASH_REGEX_CAHRS) [osh_ALT stdout] Expected 'true\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>'
[[ '< >' =~ (< >) ]] && echo true
^
Error parsing regex '(': Un-matched parenthesis group operators.
|
| osh-byterun | 13 Operators lose meaning in () in regex state (BASH_REGEX_CAHRS) [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>'
[[ '< >' =~ (< >) ]] && echo true
^
Error parsing regex '(': Un-matched parenthesis group operators.
|
| zsh | 14 Regex with | stdout: stderr: zsh: parse error near `|' |
| zsh | 15 Double quoted regex gets regex-escaped stdout: stderr: zsh: failed to compile regex: Invalid preceding regular expression |
| osh | 15 Double quoted regex gets regex-escaped [osh stdout] Expected 'true\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>'
[[ { =~ "{" ]] && echo true
^
Error parsing regex '{': Invalid use of repetition operators such as using '*' as the first character.
|
| osh_ALT | 15 Double quoted regex gets regex-escaped [osh_ALT stdout] Expected 'true\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>'
[[ { =~ "{" ]] && echo true
^
Error parsing regex '{': Invalid use of repetition operators such as using '*' as the first character.
|
| osh-byterun | 15 Double quoted regex gets regex-escaped [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>'
[[ { =~ "{" ]] && echo true
^
Error parsing regex '{': Invalid use of repetition operators such as using '*' as the first character.
|