forked from boostorg/regex
Compare commits
5 Commits
overflow_f
...
issue183
Author | SHA1 | Date | |
---|---|---|---|
c23e7b857a | |||
3efc3f93c7 | |||
e5979ae1af | |||
72f81888a5 | |||
54a5ed8509 |
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -158,7 +158,7 @@ jobs:
|
|||||||
run: ../../../b2 toolset=${{ matrix.toolset }} cxxstd=${{ matrix.standard }}
|
run: ../../../b2 toolset=${{ matrix.toolset }} cxxstd=${{ matrix.standard }}
|
||||||
working-directory: ../boost-root/libs/regex/test
|
working-directory: ../boost-root/libs/regex/test
|
||||||
windows_gcc:
|
windows_gcc:
|
||||||
runs-on: windows-latest
|
runs-on: windows-2019
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
@ -190,8 +190,8 @@ public:
|
|||||||
constexpr char_class_type mask_xdigit = char_class_type(1) << offset_xdigit;
|
constexpr char_class_type mask_xdigit = char_class_type(1) << offset_xdigit;
|
||||||
constexpr char_class_type mask_underscore = char_class_type(1) << offset_underscore;
|
constexpr char_class_type mask_underscore = char_class_type(1) << offset_underscore;
|
||||||
constexpr char_class_type mask_unicode = char_class_type(1) << offset_unicode;
|
constexpr char_class_type mask_unicode = char_class_type(1) << offset_unicode;
|
||||||
constexpr char_class_type mask_any = char_class_type(1) << offset_any;
|
//constexpr char_class_type mask_any = char_class_type(1) << offset_any;
|
||||||
constexpr char_class_type mask_ascii = char_class_type(1) << offset_ascii;
|
//constexpr char_class_type mask_ascii = char_class_type(1) << offset_ascii;
|
||||||
constexpr char_class_type mask_horizontal = char_class_type(1) << offset_horizontal;
|
constexpr char_class_type mask_horizontal = char_class_type(1) << offset_horizontal;
|
||||||
constexpr char_class_type mask_vertical = char_class_type(1) << offset_vertical;
|
constexpr char_class_type mask_vertical = char_class_type(1) << offset_vertical;
|
||||||
|
|
||||||
@ -365,15 +365,15 @@ private:
|
|||||||
|
|
||||||
static char_class_type lookup_icu_mask(const ::UChar32* p1, const ::UChar32* p2)
|
static char_class_type lookup_icu_mask(const ::UChar32* p1, const ::UChar32* p2)
|
||||||
{
|
{
|
||||||
constexpr char_class_type mask_blank = char_class_type(1) << offset_blank;
|
//constexpr char_class_type mask_blank = char_class_type(1) << offset_blank;
|
||||||
constexpr char_class_type mask_space = char_class_type(1) << offset_space;
|
//constexpr char_class_type mask_space = char_class_type(1) << offset_space;
|
||||||
constexpr char_class_type mask_xdigit = char_class_type(1) << offset_xdigit;
|
//constexpr char_class_type mask_xdigit = char_class_type(1) << offset_xdigit;
|
||||||
constexpr char_class_type mask_underscore = char_class_type(1) << offset_underscore;
|
//constexpr char_class_type mask_underscore = char_class_type(1) << offset_underscore;
|
||||||
constexpr char_class_type mask_unicode = char_class_type(1) << offset_unicode;
|
//constexpr char_class_type mask_unicode = char_class_type(1) << offset_unicode;
|
||||||
constexpr char_class_type mask_any = char_class_type(1) << offset_any;
|
constexpr char_class_type mask_any = char_class_type(1) << offset_any;
|
||||||
constexpr char_class_type mask_ascii = char_class_type(1) << offset_ascii;
|
constexpr char_class_type mask_ascii = char_class_type(1) << offset_ascii;
|
||||||
constexpr char_class_type mask_horizontal = char_class_type(1) << offset_horizontal;
|
//constexpr char_class_type mask_horizontal = char_class_type(1) << offset_horizontal;
|
||||||
constexpr char_class_type mask_vertical = char_class_type(1) << offset_vertical;
|
//constexpr char_class_type mask_vertical = char_class_type(1) << offset_vertical;
|
||||||
|
|
||||||
static const ::UChar32 prop_name_table[] = {
|
static const ::UChar32 prop_name_table[] = {
|
||||||
/* any */ 'a', 'n', 'y',
|
/* any */ 'a', 'n', 'y',
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <boost/regex.hpp>
|
#include <boost/regex.hpp>
|
||||||
#include <boost/cregex.hpp>
|
#include <boost/cregex.hpp>
|
||||||
|
#include <boost/cstdint.hpp>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
#if defined(BOOST_NO_STDC_NAMESPACE)
|
#if defined(BOOST_NO_STDC_NAMESPACE)
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <boost/regex.hpp>
|
#include <boost/regex.hpp>
|
||||||
#include <boost/cregex.hpp>
|
#include <boost/cregex.hpp>
|
||||||
|
#include <boost/cstdint.hpp>
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
Reference in New Issue
Block a user