Added extra non-greedy repeat tests

[SVN r22421]
This commit is contained in:
John Maddock
2004-03-02 16:57:36 +00:00
parent 82abe57838
commit f7abd42972

View File

@ -1018,6 +1018,7 @@ ab.{2,5}? ab__ 0 4
ab.{2,5}? ab_______ 0 4
ab.{2,5}?xy ab______xy -1 -1
ab.{2,5}xy ab_xy -1 -1
(.*?).somesite \n\n555.somesite 2 14 2 5
; now again for single character repeats:
@ -1054,6 +1055,7 @@ ab_{2,5}? ab__ 0 4
ab_{2,5}? ab_______ 0 4
ab_{2,5}?xy ab______xy -1 -1
ab_{2,5}xy ab_xy -1 -1
(5*?).somesite //555.somesite 2 14 2 5
; and again for sets:
ab[_,;]*xy abxy_ 0 4
@ -1089,6 +1091,7 @@ ab[_,;]{2,5}? ab__ 0 4
ab[_,;]{2,5}? ab_______ 0 4
ab[_,;]{2,5}?xy ab______xy -1 -1
ab[_,;]{2,5}xy ab_xy -1 -1
(\d*?).somesite //555.somesite 2 14 2 5
; and again for tricky sets with digraphs:
ab[_[.ae.]]*xy abxy_ 0 4
@ -1124,6 +1127,7 @@ ab[_[.ae.]]{2,5}? ab__ 0 4
ab[_[.ae.]]{2,5}? ab_______ 0 4
ab[_[.ae.]]{2,5}?xy ab______xy -1 -1
ab[_[.ae.]]{2,5}xy ab_xy -1 -1
([5[.ae.]]*?).somesite //555.somesite 2 14 2 5
; new bugs detected in spring 2003:
- normal match_continuous REG_NO_POSIX_TEST