Fix accidental negative bounds

See Araq/Nim #1979 for context
This commit is contained in:
Flaviu Tamas 2015-01-19 16:16:06 -05:00
commit eb2fd618fe
2 changed files with 2 additions and 1 deletions

View file

@ -19,3 +19,4 @@ suite "find":
test "len 0 find":
check("".findAll(re"\ ") == newSeq[string]())
check("".findAll(re"") == @[""])
check("word word".findAll(nre.re"\b") == @["", "", "", ""])