3 cp syntax.txt syntax.html
4 sam
-d syntax.html
<<'!'
8 ,s
!== (([^
()]|\
([^
()]*\
))*)!≡
<code
>\
1</code
>!g
11 ,s
! vim$
! <font size
=-2>VIM
</font
>!g
12 ,s
! pcre$
! <font size
=-2>PCRE
</font
>!g
13 ,s
! perl$
! <font size
=-2>PERL
</font
>!g
14 ,x g
/NOT SUPPORTED
/ s
!^
[^
]+!<font color
=#808080>&</font>!
16 ,s
!(^
[^
]+) (.
*)\n!<tr><td
><code
>\
1</code
></td
><td
>\
2</td
></tr>\n!g
18 ,s
!^$
!<tr><td
></td
></tr>!g
19 ,x v
/<tr>/ s
!.
*!<tr><td colspan
=2>&</td
></tr>!
22 <!-- AUTOMATICALLY GENERATED by mksyntaxhtml
-->
24 <meta http-equiv
="Content-Type" content
="text/html; charset=UTF-8"/>
25 <title
>RE2 regular expression syntax reference
</title
>
28 <h1
>RE2 regular expression syntax reference
</h1
>
30 <table border
=0 cellpadding
=2 cellspacing
=2>
31 <tr><td colspan
=2>This page lists the regular expression syntax accepted by RE2.
</td
></tr>
32 <tr><td colspan
=2>It also lists syntax accepted by PCRE
, PERL
, and VIM.
</td
></tr>
33 <tr><td colspan
=2>Grayed out expressions are not supported by RE2.
</td
></tr>