mirror of
https://github.com/boostorg/regex.git
synced 2025-07-04 16:16:32 +02:00
56 lines
2.9 KiB
HTML
56 lines
2.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
<html>
|
||
<head>
|
||
<title>Boost.Regex: Regular Expression Syntax</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">Regular Expression Syntax</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>
|
||
<P>This section covers the regular expression syntax used by this library, this is
|
||
a programmers guide, the actual syntax presented to your program's users will
|
||
depend upon the <A href="syntax_option_type.html">flags</A> used during
|
||
expression compilation.
|
||
</P>
|
||
<P>There are three main syntax options available, depending upon how
|
||
you construct the regular expression object:</P>
|
||
<UL>
|
||
<LI>
|
||
<A href="syntax_perl.html">Perl</A> (this is the default behavior).</LI>
|
||
<LI>
|
||
<A href="syntax_extended.html">POSIX extended</A> (including the <A href="syntax_extended.html#egrep">
|
||
egrep</A> and <A href="syntax_extended.html#awk">awk</A> variations).</LI>
|
||
<LI>
|
||
<A href="syntax_basic.html">POSIX Basic</A> (including the <A href="syntax_basic.html#grep">
|
||
grep</A> and <A href="syntax_basic.html#emacs">emacs</A> variations).</LI></UL>
|
||
<P>You can also construct a regular expression that treats every character as a <A href="syntax_option_type.html#literals">
|
||
literal</A>, but that's not really a "syntax"!</P>
|
||
<HR>
|
||
<p>Revised
|
||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||
10 Sept 2004
|
||
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||
<p><i><EFBFBD> Copyright John Maddock 1998-
|
||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2004<!--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>
|