Use strict ERE

This commit is contained in:
Sunrin SHIMURA (keen) 2015-05-11 16:05:40 +09:00
parent 41be4b44e9
commit e3d2330df7
1 changed files with 1 additions and 1 deletions

View File

@ -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 " " "))