nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitcc:: when removing a reduction in S/R, notify the token to not generate the reduce...
[nit.git]
/
tests
/
test_regex_check.nit
diff --git
a/tests/test_regex_check.nit
b/tests/test_regex_check.nit
index
f499510
..
8c3efda
100644
(file)
--- a/
tests/test_regex_check.nit
+++ b/
tests/test_regex_check.nit
@@
-19,3
+19,11
@@
var re = "a+".to_re #alt1#
print "aa".has(re)
print "bb".has(re)
+
+var str = "é12345"
+
+var re1 = "3".to_re
+print str.split(re1)
+
+var re2 = "5".to_re
+print str.split(re2)