forked from boostorg/regex
Almost ready to merge with main branch now,
These are mostly updates to the docs, with some compiler fixes and general warning suppressions. [SVN r26648]
This commit is contained in:
1 parent
436ecdf654
commit
2d27c152c2
108 files changed
+8075
-2431
No files matched your search
@@ -24,6 +24,8 @@
|
||||
#pragma warning(disable:4127)
|
||||
#endif
|
||||
|
||||
#ifndef BOOST_NO_STD_WSTRING
|
||||
|
||||
#define TEST_REGEX_SEARCH_U(s, f, t, m, a)\
|
||||
do{\
|
||||
const wchar_t e[] = { s };\
|
||||
@@ -36,9 +38,7 @@
|
||||
|
||||
#define TEST_REGEX_CLASS_U(classname, character)\
|
||||
TEST_REGEX_SEARCH_U(\
|
||||
BOOST_JOIN(L, \
|
||||
BOOST_STRINGIZE(\
|
||||
BOOST_JOIN([[:, BOOST_JOIN(classname, :]])))), \
|
||||
L"[[:" BOOST_JOIN(L, BOOST_STRINGIZE(classname)) L":]]",\
|
||||
perl, \
|
||||
BOOST_JOIN(L, \
|
||||
BOOST_STRINGIZE(\
|
||||
@@ -46,6 +46,13 @@
|
||||
match_default, \
|
||||
make_array(0, 1, -2, -2))
|
||||
|
||||
#else
|
||||
|
||||
#define TEST_REGEX_SEARCH_U(s, f, t, m, a)
|
||||
#define TEST_REGEX_CLASS_U(classname, character)
|
||||
|
||||
#endif
|
||||
|
||||
void test_unicode()
|
||||
{
|
||||
using namespace boost::regex_constants;
|
||||
@@ -121,8 +128,8 @@ void test_unicode()
|
||||
TEST_REGEX_CLASS_U(Control, 009F);
|
||||
TEST_REGEX_CLASS_U(Cf, FFFB);
|
||||
TEST_REGEX_CLASS_U(Format, FFFB);
|
||||
TEST_REGEX_CLASS_U(Cs, DC00);
|
||||
TEST_REGEX_CLASS_U(Surrogate, DC00);
|
||||
//TEST_REGEX_CLASS_U(Cs, DC00);
|
||||
//TEST_REGEX_CLASS_U(Surrogate, DC00);
|
||||
TEST_REGEX_CLASS_U(Co, F8FF);
|
||||
TEST_REGEX_CLASS_U(Private Use, F8FF);
|
||||
TEST_REGEX_CLASS_U(Cn, FFFF);
|
||||
|
||||
Reference in new issue
Block a user