mirror of
https://github.com/boostorg/regex.git
synced 2025-07-16 05:42:15 +02:00
Remove and update aCC/HPUX fixes.
Fix regex bug report: some repeats match when they should not. Added test case. [SVN r35262]
This commit is contained in:
@ -373,6 +373,10 @@ void test_tricky_cases3()
|
||||
TEST_REGEX_SEARCH("\\l+", perl|icase, "abcXYZ", match_default, make_array(0, 6, -2, -2));
|
||||
TEST_REGEX_SEARCH("\\u+", perl|icase, "abcXYZ", match_default, make_array(0, 6, -2, -2));
|
||||
TEST_REGEX_SEARCH("(a)(?:b)", perl|nosubs, "ab", match_default, make_array(0, 2, -2, -2));
|
||||
// bug reported 2006-09-20:
|
||||
TEST_REGEX_SEARCH("(?:\\d{9}.*){2}", perl, "123456789dfsdfsdfsfsdfds123456789b", match_default, make_array(0, 34, -2, -2));
|
||||
TEST_REGEX_SEARCH("(?:\\d{9}.*){2}", perl, "123456789dfsdfsdfsfsdfds12345678", match_default, make_array(-2, -2));
|
||||
TEST_REGEX_SEARCH("(?:\\d{9}.*){2}", perl, "123456789dfsdfsdfsfsdfds", match_default, make_array(-2, -2));
|
||||
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user