mirror of
https://github.com/boostorg/regex.git
synced 2025-07-22 00:32:52 +02:00
Fix typo, see https://svn.boost.org/trac/boost/ticket/10268
This commit is contained in:
@ -1220,7 +1220,7 @@ bool basic_regex_parser<charT, traits>::parse_alt()
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
fail(regex_constants::error_empty, this->m_position - this->m_base, "A regular expression can start with the alternation operator |.");
|
fail(regex_constants::error_empty, this->m_position - this->m_base, "A regular expression cannot start with the alternation operator |.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user