From 34355d3e79af5277d8370ebf4dc4fd6e2d961c07 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 14 Jan 2005 11:19:46 +0000 Subject: [PATCH] Added fix for msvc+STLport. [SVN r26696] --- test/regress/test_sets.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/regress/test_sets.cpp b/test/regress/test_sets.cpp index 64f08cd3..41b5d887 100644 --- a/test/regress/test_sets.cpp +++ b/test/regress/test_sets.cpp @@ -137,6 +137,7 @@ void test_sets() TEST_REGEX_SEARCH("[[:lower:][:alpha:]]", perl, "a", match_default, make_array(0, 1, -2, -2)); } +void test_sets2b(); void test_sets2() { using namespace boost::regex_constants; @@ -305,6 +306,12 @@ void test_sets2() TEST_INVALID_REGEX("\\N{}", perl); TEST_INVALID_REGEX("\\N{invalid-name}", perl); TEST_INVALID_REGEX("\\N{zero", perl); + test_sets2b(); +} + +void test_sets2b() +{ + using namespace boost::regex_constants; // and repeat with POSIX-extended syntax: TEST_REGEX_SEARCH("\\pl+", extended, "ABabcAB", match_default, make_array(2, 5, -2, -2));