We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 852013d commit 2c17b1bCopy full SHA for 2c17b1b
test/data/bash-rematch.cmd
@@ -9,7 +9,7 @@ c
9
s
10
c
11
12
-eval typeset -p BASH_REMATCH
+eval typeset | grep -E '^BASH_REMATCH='
13
14
15
test/data/bash-rematch.right
@@ -30,8 +30,8 @@ Breakpoint 1 hit (2 times).
30
(bash-rematch.sh:8):
31
8: echo "${!i} matches"
32
0: $BASH_REMATCH = 456
33
-+eval typeset -p BASH_REMATCH
34
-declare -a BASH_REMATCH=([0]="456")
++eval typeset | grep -E '^BASH_REMATCH='
+BASH_REMATCH=([0]="456")
35
$? is 0
36
+c
37
456 matches
0 commit comments