* tests/regexp.test: Check regexp-substitute/global when there are
no matches. (Duh.)
This commit is contained in:
parent
83c0c66087
commit
f88fdc6e32
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@
|
|||
(try "xx" "a(x*)b" "_axxb_" 1)
|
||||
(try "pre" "a(x*)b" "preaxxbpost" 'pre)
|
||||
(try "post" "a(x*)b" "preaxxbpost" 'post)
|
||||
(try "string" "x" "string" 'pre "y" 'post)
|
||||
(try "4" "a(x*)b" "_axxb_" (lambda (m)
|
||||
(number->string (match:end m 1))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue