File: standards.html

package info (click to toggle)
boost 1.32.0-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 93,952 kB
  • ctags: 128,458
  • sloc: cpp: 492,477; xml: 52,125; python: 13,519; ansic: 13,013; sh: 1,773; yacc: 853; makefile: 526; perl: 418; lex: 110; csh: 6
file content (77 lines) | stat: -rw-r--r-- 3,985 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
   <head>
      <title>Boost.Regex: Standards Conformance</title>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <link rel="stylesheet" type="text/css" href="../../../boost.css">
   </head>
   <body>
      <P>
         <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0">
            <TR>
               <td valign="top" width="300">
                  <h3><a href="../../../index.htm"><img height="86" width="277" alt="C++ Boost" src="../../../boost.png" border="0"></a></h3>
               </td>
               <TD width="353">
                  <H1 align="center">Boost.Regex</H1>
                  <H2 align="center">Standards Conformance</H2>
               </TD>
               <td width="50">
                  <h3><a href="index.html"><img height="45" width="43" alt="Boost.Regex Index" src="uarrow.gif" border="0"></a></h3>
               </td>
            </TR>
         </TABLE>
      </P>
      <HR>
      <H3>C++</H3>
      <P>Boost.regex is intended to conform to the <A href="http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/papers/2003/n1429.htm">
            regular expression standardization proposal</A>, which will appear in a 
         future C++ standard technical report (and hopefully in a future version of the 
         standard).&nbsp; Currently there are some differences in how the regular 
         expression traits classes are defined, these will be fixed in a future release.</P>
      <H3>ECMAScript / JavaScript</H3>
      <P>All of the ECMAScript regular expression syntax features are supported, except 
         that:</P>
      <P>Negated class escapes (\S, \D and \W) are not permitted inside character class 
         definitions ( [...] ).</P>
      <P>The escape sequence \u matches any upper case character (the same as 
         [[:upper:]])&nbsp;rather than a Unicode escape sequence; use \x{DDDD} for 
         Unicode escape sequences.</P>
      <H3>Perl</H3>
      <P>Almost all Perl features are supported, except for:</P>
      <P>\N{name}&nbsp; Use [[:name:]] instead.</P>
      <P>\pP and \PP</P>
      <P>(?imsx-imsx)</P>
      <P>(?&lt;=pattern)</P>
      <P>(?&lt;!pattern)</P>
      <P>(?{code})</P>
      <P>(??{code})</P>
      <P>(?(condition)yes-pattern) and (?(condition)yes-pattern|no-pattern)</P>
      <P>These embarrassments / limitations will be removed in due course, mainly 
         dependent upon user demand.</P>
      <H3>POSIX</H3>
      <P>All the POSIX basic and extended regular expression features are supported, 
         except that:</P>
      <P>No character collating names are recognized except those specified in the POSIX 
         standard for the C locale, unless they are explicitly registered with the 
         traits class.</P>
      <P>Character equivalence classes ( [[=a=]] etc) are probably buggy except on 
         Win32.&nbsp; Implementing this feature requires knowledge of the format of the 
         string sort keys produced by the system; if you need this, and the default 
         implementation doesn't work on your platform, then you will need to supply a 
         custom traits class.</P>
         <HR>
      <p>Revised 
         <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan --> 
         24 Oct 2003 
         <!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
      <p><i> Copyright John Maddock&nbsp;1998- 
            <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 
            2003<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
      <P><I>Use, modification and distribution are subject to the Boost Software License, 
            Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
            or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
   </body>
</html>