Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Use strict ERE
Browse files Browse the repository at this point in the history
  • Loading branch information
KeenS committed May 11, 2015
1 parent 41be4b4 commit e3d2330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/10.regexp/t/test.scm
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
(test '("a" "b" "c" "d") (regexp-split (regexp ",") "a,b,c,d"))
(test '("a" "b" "c" "d") (regexp-split (regexp "\\.+") "a.b....c.....d"))
(test "a b c d" (regexp-replace (regexp ",") "a,b,c,d" " "))
(test "newline tab space " (regexp-replace (regexp "\\s") "newline
(test "newline tab space " (regexp-replace (regexp "[\n\t ]") "newline
tab space " " "))

0 comments on commit e3d2330

Please sign in to comment.