forked from boostorg/regex
Added extra non-greedy repeat tests,
fixed concept checks for vc6 (they don't work, and won't work). [SVN r22423]
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user