mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
regex 0.9c
This commit is contained in:
parent
d5f6e37c65
commit
25fabac059
3 changed files with 542 additions and 66 deletions
|
@ -65,6 +65,7 @@ match_test_suite = [
|
|||
TestItem{"cpapaz ole. pippo,",r".*c.+ole.*pi",0,14},
|
||||
TestItem{"cpapaz ole. pipipo,",r".*c.+ole.*p([ip])+o",0,18},
|
||||
TestItem{"cpapaz ole. pipipo",r"^.*c.+ol?e.*p([ip])+o$",0,18},
|
||||
TestItem{"abbb",r"ab{2,3}?",0,3},
|
||||
|
||||
// negative
|
||||
TestItem{"zthis ciao",r"((t[hieo]+se?)\s*)+",-1,0},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue