mirror of
https://github.com/boostorg/regex.git
synced 2025-07-13 20:36:39 +02:00
Added minor doc fixes
[SVN r14653]
This commit is contained in:
10
faq.htm
10
faq.htm
@ -190,10 +190,12 @@ others support them but with reduced efficiency. Throw
|
|||||||
specifications may be added at a later date as compilers begin to
|
specifications may be added at a later date as compilers begin to
|
||||||
handle this better. The library should throw only three types of
|
handle this better. The library should throw only three types of
|
||||||
exception: boost::bad_expression can be thrown by reg_expression
|
exception: boost::bad_expression can be thrown by reg_expression
|
||||||
when compiling a regular expression; boost::bad_pattern can be
|
when compiling a regular expression, std::runtime_error can be
|
||||||
thrown by the class sub_match's conversion operators; finally std::bad_alloc
|
thrown when a call to reg_expression::imbue tries to open a
|
||||||
can be thrown by just about any of the functions in this library.
|
message catalogue that doesn't exist or when a call to RegEx::GrepFiles
|
||||||
</p>
|
or RegEx::FindFiles tries to open a file that cannot be opened,
|
||||||
|
finally std::bad_alloc can be thrown by just about any of the
|
||||||
|
functions in this library. </p>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
@ -400,7 +400,7 @@ very closely on class basic_string, and fulfils the requirements
|
|||||||
for a container of <i>charT</i>. </p>
|
for a container of <i>charT</i>. </p>
|
||||||
|
|
||||||
<pre><b>namespace</b> boost{
|
<pre><b>namespace</b> boost{
|
||||||
<b>template</b> <<b>class</b> charT, <b>class</b> traits = char_regex_traits<charT>, <b>class</b> Allocator = std::allocator<charT> >
|
<b>template</b> <<b>class</b> charT, <b>class</b> traits = regex_traits<charT>, <b>class</b> Allocator = std::allocator<charT> >
|
||||||
<b>class</b> reg_expression : <b>public</b> regbase
|
<b>class</b> reg_expression : <b>public</b> regbase
|
||||||
{
|
{
|
||||||
<b>public</b>:
|
<b>public</b>:
|
||||||
@ -679,7 +679,9 @@ for a container of <i>charT</i>. </p>
|
|||||||
locale_type& l);</td>
|
locale_type& l);</td>
|
||||||
<td valign="top" width="45%">Imbues the expression with
|
<td valign="top" width="45%">Imbues the expression with
|
||||||
the specified locale, and invalidates the current
|
the specified locale, and invalidates the current
|
||||||
expression.</td>
|
expression. May throw std::runtime_error if the call
|
||||||
|
results in an attempt to open a non-existent message
|
||||||
|
catalogue.</td>
|
||||||
<td width="5%"> </td>
|
<td width="5%"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
Reference in New Issue
Block a user