1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

regex: fix a bug, update docs, explain the assumptions of the regex module (#7629)

This commit is contained in:
penguindark
2020-12-28 11:43:03 +01:00
committed by GitHub
parent 2946673bc2
commit a98adbb3a4
3 changed files with 18 additions and 3 deletions

View File

@ -123,6 +123,7 @@ match_test_suite = [
TestItem{"accccb deer", r"^a(.*)b d(.+)",0,11},
TestItem{"accccb deer", r"^(.*)$",0,11},
TestItem{"accccb deer", r"^a(.*)b d(.+)p",-1,0},
TestItem{"##.#....#.##.####...#.##", r".{18}[.#]",0,19},
// test bcksls chars
TestItem{"[ an s. s! ]( wi4ki:something )", r"\[.*\]\( *(\w*:*\w+) *\)",0,31},