tests: Added Unicode sources to regex test
authorLucas Bajolet <r4pass@hotmail.com>
Thu, 27 Aug 2015 18:11:45 +0000 (14:11 -0400)
committerLucas Bajolet <r4pass@hotmail.com>
Thu, 27 Aug 2015 18:11:45 +0000 (14:11 -0400)
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

tests/sav/test_regex_check.res
tests/test_regex_check.nit

index f499510..8c3efda 100644 (file)
@@ -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)