Files
Nim/test/misc.nim
Flaviu Tamas a1110ebb14 Change RegexMatch from ref to Option
Also associated changes to tests and code
2015-01-31 18:05:49 -05:00

8 lines
194 B
Nim

import unittest, nre, optional_t.nonstrict
suite "Misc tests":
test "unicode":
check("".find(re("", "8")).match == "")
check("перевірка".replace(re(r"\w", "uW"), "") == "")