1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/result/regexp/hard
Daniel Veillard fc6eca0d81 fix bug #319897, problem with counted atoms when the transition itself is
* xmlregexp.c: fix bug #319897, problem with counted atoms
  when the transition itself is counted too
* result/regexp/hard test/regexp/hard: augmented the regression
  tests with the problem exposed.
Daniel
2005-11-01 15:24:02 +00:00

13 lines
187 B
Plaintext

Regexp: ((a|b|\p{Nd}){1,2}|aaa|bbbb){1,2}
bab: Ok
aaca: Fail
aaabbbb: Ok
a0b: Ok
aa0aaa: Fail
b0aaa: Ok
Regexp: (\d{1,3}\.){3}\d{1,3}
1.2.3.4: Ok
1.22.333.44: Ok
1.2.3: Fail
1..2.3: Fail