Use strict ERE
This commit is contained in:
parent
41be4b44e9
commit
e3d2330df7
|
@ -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 " " "))
|
||||
|
|
Loading…
Reference in New Issue