forked from boostorg/regex
Merge more rebuilt documentation.
[SVN r63771]
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>Standards Conformance</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
|
||||
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../index.html" title="Boost.Regex">
|
||||
<link rel="up" href="../background_information.html" title="Background Information">
|
||||
<link rel="prev" href="performance.html" title="Performance">
|
||||
@ -20,15 +20,15 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="performance.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../background_information.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="redist.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="performance.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../background_information.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="redist.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="boost_regex.background_information.standards"></a><a class="link" href="standards.html" title="Standards Conformance"> Standards
|
||||
Conformance</a>
|
||||
</h3></div></div></div>
|
||||
<a name="boost_regex.background_information.standards.c__"></a><h5>
|
||||
<a name="id830890"></a>
|
||||
<a name="id907609"></a>
|
||||
<a class="link" href="standards.html#boost_regex.background_information.standards.c__">C++</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -36,7 +36,7 @@
|
||||
Report on C++ Library Extensions</a>.
|
||||
</p>
|
||||
<a name="boost_regex.background_information.standards.ecmascript___javascript"></a><h5>
|
||||
<a name="id830912"></a>
|
||||
<a name="id907645"></a>
|
||||
<a class="link" href="standards.html#boost_regex.background_information.standards.ecmascript___javascript">ECMAScript
|
||||
/ JavaScript</a>
|
||||
</h5>
|
||||
@ -49,7 +49,7 @@
|
||||
rather than a Unicode escape sequence; use \x{DDDD} for Unicode escape sequences.
|
||||
</p>
|
||||
<a name="boost_regex.background_information.standards.perl"></a><h5>
|
||||
<a name="id830932"></a>
|
||||
<a name="id907652"></a>
|
||||
<a class="link" href="standards.html#boost_regex.background_information.standards.perl">Perl</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -73,7 +73,7 @@
|
||||
the Unicode requirements below.
|
||||
</p>
|
||||
<a name="boost_regex.background_information.standards.posix"></a><h5>
|
||||
<a name="id830972"></a>
|
||||
<a name="id907737"></a>
|
||||
<a class="link" href="standards.html#boost_regex.background_information.standards.posix">POSIX</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -93,7 +93,7 @@
|
||||
a custom traits class.
|
||||
</p>
|
||||
<a name="boost_regex.background_information.standards.unicode"></a><h5>
|
||||
<a name="id830996"></a>
|
||||
<a name="id907781"></a>
|
||||
<a class="link" href="standards.html#boost_regex.background_information.standards.unicode">Unicode</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -108,451 +108,451 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Item
|
||||
</p>
|
||||
<p>
|
||||
Item
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Feature
|
||||
</p>
|
||||
<p>
|
||||
Feature
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Support
|
||||
</p>
|
||||
<p>
|
||||
Support
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
1.1
|
||||
</p>
|
||||
<p>
|
||||
1.1
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Hex Notation
|
||||
</p>
|
||||
<p>
|
||||
Hex Notation
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Yes: use \x{DDDD} to refer to code point UDDDD.
|
||||
</p>
|
||||
<p>
|
||||
Yes: use \x{DDDD} to refer to code point UDDDD.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
1.2
|
||||
</p>
|
||||
<p>
|
||||
1.2
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Character Properties
|
||||
</p>
|
||||
<p>
|
||||
Character Properties
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
All the names listed under the General Category Property are supported.
|
||||
Script names and Other Names are not currently supported.
|
||||
</p>
|
||||
<p>
|
||||
All the names listed under the General Category Property are supported.
|
||||
Script names and Other Names are not currently supported.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
1.3
|
||||
</p>
|
||||
<p>
|
||||
1.3
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Subtraction and Intersection
|
||||
</p>
|
||||
<p>
|
||||
Subtraction and Intersection
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Indirectly support by forward-lookahead:
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="special">(?=[[:</span><span class="identifier">X</span><span class="special">:]])[[:</span><span class="identifier">Y</span><span class="special">:]]</span></code>
|
||||
</p>
|
||||
<p>
|
||||
Gives the intersection of character properties X and Y.
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="special">(?![[:</span><span class="identifier">X</span><span class="special">:]])[[:</span><span class="identifier">Y</span><span class="special">:]]</span></code>
|
||||
</p>
|
||||
<p>
|
||||
Gives everything in Y that is not in X (subtraction).
|
||||
</p>
|
||||
<p>
|
||||
Indirectly support by forward-lookahead:
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="special">(?=[[:</span><span class="identifier">X</span><span class="special">:]])[[:</span><span class="identifier">Y</span><span class="special">:]]</span></code>
|
||||
</p>
|
||||
<p>
|
||||
Gives the intersection of character properties X and Y.
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="special">(?![[:</span><span class="identifier">X</span><span class="special">:]])[[:</span><span class="identifier">Y</span><span class="special">:]]</span></code>
|
||||
</p>
|
||||
<p>
|
||||
Gives everything in Y that is not in X (subtraction).
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
1.4
|
||||
</p>
|
||||
<p>
|
||||
1.4
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Simple Word Boundaries
|
||||
</p>
|
||||
<p>
|
||||
Simple Word Boundaries
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Conforming: non-spacing marks are included in the set of word characters.
|
||||
</p>
|
||||
<p>
|
||||
Conforming: non-spacing marks are included in the set of word characters.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
1.5
|
||||
</p>
|
||||
<p>
|
||||
1.5
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Caseless Matching
|
||||
</p>
|
||||
<p>
|
||||
Caseless Matching
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Supported, note that at this level, case transformations are 1:1,
|
||||
many to many case folding operations are not supported (for example
|
||||
"ß" to "SS").
|
||||
</p>
|
||||
<p>
|
||||
Supported, note that at this level, case transformations are 1:1,
|
||||
many to many case folding operations are not supported (for example
|
||||
"ß" to "SS").
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
1.6
|
||||
</p>
|
||||
<p>
|
||||
1.6
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Line Boundaries
|
||||
</p>
|
||||
<p>
|
||||
Line Boundaries
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Supported, except that "." matches only one character of
|
||||
"\r\n". Other than that word boundaries match correctly;
|
||||
including not matching in the middle of a "\r\n" sequence.
|
||||
</p>
|
||||
<p>
|
||||
Supported, except that "." matches only one character
|
||||
of "\r\n". Other than that word boundaries match correctly;
|
||||
including not matching in the middle of a "\r\n" sequence.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
1.7
|
||||
</p>
|
||||
<p>
|
||||
1.7
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Code Points
|
||||
</p>
|
||||
<p>
|
||||
Code Points
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Supported: provided you use the u32* algorithms, then UTF-8, UTF-16
|
||||
and UTF-32 are all treated as sequences of 32-bit code points.
|
||||
</p>
|
||||
<p>
|
||||
Supported: provided you use the u32* algorithms, then UTF-8, UTF-16
|
||||
and UTF-32 are all treated as sequences of 32-bit code points.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
2.1
|
||||
</p>
|
||||
<p>
|
||||
2.1
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Canonical Equivalence
|
||||
</p>
|
||||
<p>
|
||||
Canonical Equivalence
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not supported: it is up to the user of the library to convert all
|
||||
text into the same canonical form as the regular expression.
|
||||
</p>
|
||||
<p>
|
||||
Not supported: it is up to the user of the library to convert all
|
||||
text into the same canonical form as the regular expression.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
2.2
|
||||
</p>
|
||||
<p>
|
||||
2.2
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Default Grapheme Clusters
|
||||
</p>
|
||||
<p>
|
||||
Default Grapheme Clusters
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not supported.
|
||||
</p>
|
||||
<p>
|
||||
Not supported.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
2.3Default Word Boundaries
|
||||
</p>
|
||||
<p>
|
||||
2.3Default Word Boundaries
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not supported.
|
||||
</p>
|
||||
<p>
|
||||
Not supported.
|
||||
</p>
|
||||
</td>
|
||||
<td class="auto-generated"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
2.4
|
||||
</p>
|
||||
<p>
|
||||
2.4
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Default Loose Matches
|
||||
</p>
|
||||
<p>
|
||||
Default Loose Matches
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
2.5
|
||||
</p>
|
||||
<p>
|
||||
2.5
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Named Properties
|
||||
</p>
|
||||
<p>
|
||||
Named Properties
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Supported: the expression "[[:name:]]" or \N{name} matches
|
||||
the named character "name".
|
||||
</p>
|
||||
<p>
|
||||
Supported: the expression "[[:name:]]" or \N{name} matches
|
||||
the named character "name".
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
2.6
|
||||
</p>
|
||||
<p>
|
||||
2.6
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Wildcard properties
|
||||
</p>
|
||||
<p>
|
||||
Wildcard properties
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
3.1
|
||||
</p>
|
||||
<p>
|
||||
3.1
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Tailored Punctuation.
|
||||
</p>
|
||||
<p>
|
||||
Tailored Punctuation.
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
3.2
|
||||
</p>
|
||||
<p>
|
||||
3.2
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Tailored Grapheme Clusters
|
||||
</p>
|
||||
<p>
|
||||
Tailored Grapheme Clusters
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
3.3
|
||||
</p>
|
||||
<p>
|
||||
3.3
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Tailored Word Boundaries.
|
||||
</p>
|
||||
<p>
|
||||
Tailored Word Boundaries.
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
3.4
|
||||
</p>
|
||||
<p>
|
||||
3.4
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Tailored Loose Matches
|
||||
</p>
|
||||
<p>
|
||||
Tailored Loose Matches
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Partial support: [[=c=]] matches characters with the same primary
|
||||
equivalence class as "c".
|
||||
</p>
|
||||
<p>
|
||||
Partial support: [[=c=]] matches characters with the same primary
|
||||
equivalence class as "c".
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
3.5
|
||||
</p>
|
||||
<p>
|
||||
3.5
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Tailored Ranges
|
||||
</p>
|
||||
<p>
|
||||
Tailored Ranges
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Supported: [a-b] matches any character that collates in the range
|
||||
a to b, when the expression is constructed with the collate flag
|
||||
set.
|
||||
</p>
|
||||
<p>
|
||||
Supported: [a-b] matches any character that collates in the range
|
||||
a to b, when the expression is constructed with the collate flag
|
||||
set.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
3.6
|
||||
</p>
|
||||
<p>
|
||||
3.6
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Context Matches
|
||||
</p>
|
||||
<p>
|
||||
Context Matches
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
3.7
|
||||
</p>
|
||||
<p>
|
||||
3.7
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Incremental Matches
|
||||
</p>
|
||||
<p>
|
||||
Incremental Matches
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Supported: pass the flag <code class="computeroutput"><span class="identifier">match_partial</span></code>
|
||||
to the regex algorithms.
|
||||
</p>
|
||||
<p>
|
||||
Supported: pass the flag <code class="computeroutput"><span class="identifier">match_partial</span></code>
|
||||
to the regex algorithms.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
3.8
|
||||
</p>
|
||||
<p>
|
||||
3.8
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Unicode Set Sharing
|
||||
</p>
|
||||
<p>
|
||||
Unicode Set Sharing
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
3.9
|
||||
</p>
|
||||
<p>
|
||||
3.9
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Possible Match Sets
|
||||
</p>
|
||||
<p>
|
||||
Possible Match Sets
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not supported, however this information is used internally to optimise
|
||||
the matching of regular expressions, and return quickly if no match
|
||||
is possible.
|
||||
</p>
|
||||
<p>
|
||||
Not supported, however this information is used internally to optimise
|
||||
the matching of regular expressions, and return quickly if no match
|
||||
is possible.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
3.10
|
||||
</p>
|
||||
<p>
|
||||
3.10
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Folded Matching
|
||||
</p>
|
||||
<p>
|
||||
Folded Matching
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Partial Support: It is possible to achieve a similar effect by using
|
||||
a custom regular expression traits class.
|
||||
</p>
|
||||
<p>
|
||||
Partial Support: It is possible to achieve a similar effect by
|
||||
using a custom regular expression traits class.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
3.11
|
||||
</p>
|
||||
<p>
|
||||
3.11
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Custom Submatch Evaluation
|
||||
</p>
|
||||
<p>
|
||||
Custom Submatch Evaluation
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
<p>
|
||||
Not Supported.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -568,7 +568,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="performance.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../background_information.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="redist.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="performance.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../background_information.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="redist.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user