mirror of
https://github.com/boostorg/regex.git
synced 2025-07-31 13:07:21 +02:00
Added extra non-greedy repeat tests
[SVN r22421]
This commit is contained in:
@ -1018,6 +1018,7 @@ ab.{2,5}? ab__ 0 4
|
|||||||
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
|
||||||
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:
|
; 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}? ab_______ 0 4
|
||||||
ab_{2,5}?xy ab______xy -1 -1
|
ab_{2,5}?xy ab______xy -1 -1
|
||||||
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:
|
; and again for sets:
|
||||||
ab[_,;]*xy abxy_ 0 4
|
ab[_,;]*xy abxy_ 0 4
|
||||||
@ -1089,6 +1091,7 @@ ab[_,;]{2,5}? ab__ 0 4
|
|||||||
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
|
||||||
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:
|
; and again for tricky sets with digraphs:
|
||||||
ab[_[.ae.]]*xy abxy_ 0 4
|
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}? ab_______ 0 4
|
||||||
ab[_[.ae.]]{2,5}?xy ab______xy -1 -1
|
ab[_[.ae.]]{2,5}?xy ab______xy -1 -1
|
||||||
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:
|
; new bugs detected in spring 2003:
|
||||||
- normal match_continuous REG_NO_POSIX_TEST
|
- normal match_continuous REG_NO_POSIX_TEST
|
||||||
|
Reference in New Issue
Block a user