mirror of
https://github.com/boostorg/regex.git
synced 2025-07-04 16:16:32 +02:00
reorganised regex config setup
[SVN r10064]
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: wide_posix_api.cpp
|
||||
* VERSION: 3.10
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Implements the wide character POSIX API wrappers.
|
||||
*/
|
||||
|
||||
@ -59,7 +59,7 @@ BOOST_RE_IX_DECL int BOOST_RE_CCALL regcompW(regex_tW* expression, const wchar_t
|
||||
}
|
||||
}
|
||||
// set default flags:
|
||||
jm_uintfast32_t flags = (f & REG_EXTENDED) ? regbase::extended : regbase::basic;
|
||||
boost::uint_fast32_t flags = (f & REG_EXTENDED) ? regbase::extended : regbase::basic;
|
||||
expression->eflags = (f & REG_NEWLINE) ? match_not_dot_newline : 0;
|
||||
|
||||
// and translate those that are actually set:
|
||||
@ -162,7 +162,7 @@ BOOST_RE_IX_DECL int BOOST_RE_CCALL regexecW(const regex_tW* expression, const w
|
||||
{
|
||||
BOOST_RE_GUARD_STACK
|
||||
bool result = false;
|
||||
jm_uintfast32_t flags = match_default | expression->eflags;
|
||||
boost::uint_fast32_t flags = match_default | expression->eflags;
|
||||
const wchar_t* end;
|
||||
const wchar_t* start;
|
||||
wcmatch m;
|
||||
|
Reference in New Issue
Block a user