mirror of
https://github.com/boostorg/regex.git
synced 2025-07-15 05:16:37 +02:00
54 lines
2.7 KiB
HTML
54 lines
2.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
<html>
|
||
<head>
|
||
<title>Boost.Regex: Working With Non-Standard String Types</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">Working With Non-Standard String Types.</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></p>
|
||
<P>The Boost.Regex algorithms and iterators are all iterator-based, with
|
||
convenience overloads of the algorithms provided that convert standard library
|
||
string types to iterator pairs internally. If you want to search a
|
||
non-standard string type then the trick is to convert that string into an
|
||
iterator pair: so far I haven't come across any string types that can't be
|
||
handled this way, even if they're not officially iterator based.
|
||
Certainly any string type that provides access to it's internal buffer, along
|
||
with it's length, can be converted into a pair of pointers (which can be used
|
||
as iterators).</P>
|
||
<P>Some non-standard string types are sufficiently common that wappers have been
|
||
provided for them:</P>
|
||
<P><A href="mfc_strings.html">MFC/ATL Strings.</A><BR>
|
||
<A href="icu_strings.html">ICU Strings.</A></P>
|
||
<P>
|
||
<HR>
|
||
<P></P>
|
||
<p>Revised
|
||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||
24 Nov 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>
|