mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-29 21:46:59 +03:00
fc6eca0d81
* 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
13 lines
187 B
Plaintext
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
|