mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00

* 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
127 B
Plaintext
13 lines
127 B
Plaintext
=>((a|b|\p{Nd}){1,2}|aaa|bbbb){1,2}
|
|
bab
|
|
aaca
|
|
aaabbbb
|
|
a0b
|
|
aa0aaa
|
|
b0aaa
|
|
=>(\d{1,3}\.){3}\d{1,3}
|
|
1.2.3.4
|
|
1.22.333.44
|
|
1.2.3
|
|
1..2.3
|