blob: 8305732c2043306bb6d3ad1e4a8f432e40e3d867 [file] [log] [blame] [edit]
Regexp: (a|b{0,3}){0,1}
a: Ok
aa: Fail
b: Ok
bb: Ok
bbb: Ok
bbbb: Fail
ab: Fail
ba: Fail
Regexp: ([0-9]{0,3}|([0-9]{0}|[0-9]{0,3})){0,3}
0: Ok
00: Ok
123: Ok
abc: Fail