mirror of
https://github.com/boostorg/regex.git
synced 2025-07-02 15:20:58 +02:00
Compare commits
1 Commits
boost-1.23
...
boost-1.22
Author | SHA1 | Date | |
---|---|---|---|
7b0fc6fbae |
@ -13,7 +13,7 @@
|
||||
<H3><IMG SRC="../../c++boost.gif" WIDTH=276 HEIGHT=86 ALT="C++ Boost"></H3></TD>
|
||||
<TD WIDTH="50%" VALIGN="TOP">
|
||||
<H3 ALIGN="CENTER">Regex++, Appendices.</H3>
|
||||
<I><P ALIGN="CENTER">(version 3.12, 18 April 2000)</I> </P>
|
||||
<I><P ALIGN="CENTER">(version 3.11, 18 April 2000)</I> </P>
|
||||
<I><PRE>Copyright (c) 1998-2000
|
||||
Dr John Maddock
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
/*
|
||||
* FILE jgrep.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
/*
|
||||
* FILE jgrep.h
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
*/
|
||||
|
||||
#ifndef _JGREP_H
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
/*
|
||||
* FILE main.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
*/
|
||||
|
||||
|
||||
|
2
faq.htm
2
faq.htm
@ -13,7 +13,7 @@
|
||||
<H3><IMG SRC="../../c++boost.gif" WIDTH=276 HEIGHT=86 ALT="C++ Boost"></H3></TD>
|
||||
<TD WIDTH="50%" VALIGN="TOP">
|
||||
<H3 ALIGN="CENTER">Regex++, FAQ.</H3>
|
||||
<I><P ALIGN="CENTER">(version 3.12, 18 April 2000)</I> </P>
|
||||
<I><P ALIGN="CENTER">(version 3.11, 18 April 2000)</I> </P>
|
||||
<I><PRE>Copyright (c) 1998-2000
|
||||
Dr John Maddock
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
<H3> Regex++, Format String Reference.</H3>
|
||||
</CENTER>
|
||||
<CENTER>
|
||||
<I>(version 3.12, 18 April 2000)</I>
|
||||
<I>(version 3.11, 18 April 2000)</I>
|
||||
</CENTER>
|
||||
<PRE><I>Copyright (c) 1998-2000
|
||||
Dr John Maddock
|
||||
|
@ -21,7 +21,7 @@ content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
||||
</td>
|
||||
<td valign="top" width="50%"><h3 align="center">Regex++,
|
||||
RegEx Class Reference. </h3>
|
||||
<p><i>(version 3.12, 18 April 2000)</i> </p>
|
||||
<p><i>(version 3.11, 18 April 2000)</i> </p>
|
||||
<pre><i>Copyright (c) 1998-2000
|
||||
Dr John Maddock
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE cregex.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Declares POSIX API functions
|
||||
* + boost::RegEx high level wrapper.
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex.h
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Declares POSIX API functions
|
||||
*/
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Declares boost::reg_expression<> and associated
|
||||
* functions and classes. This header is the main
|
||||
* entry point for the template regex code.
|
||||
@ -976,7 +976,7 @@ public:
|
||||
void BOOST_RE_CALL init_fail(iterator i, iterator j);
|
||||
|
||||
void BOOST_RE_CALL set_first(iterator i);
|
||||
void BOOST_RE_CALL set_first(iterator i, std::size_t pos);
|
||||
void BOOST_RE_CALL set_first(iterator i, size_t pos);
|
||||
|
||||
void BOOST_RE_CALL set_second(iterator i)
|
||||
{
|
||||
@ -987,7 +987,7 @@ public:
|
||||
ref->tail.matched = (ref->tail.first == ref->tail.second) ? false : true;
|
||||
}
|
||||
|
||||
void BOOST_RE_CALL set_second(iterator i, std::size_t pos, bool m = true)
|
||||
void BOOST_RE_CALL set_second(iterator i, size_t pos, bool m = true)
|
||||
{
|
||||
cow();
|
||||
((sub_match<iterator>*)((char*)ref + sizeof(c_reference) + sizeof(sub_match<iterator>) * pos))->second = i;
|
||||
@ -1032,7 +1032,7 @@ void BOOST_RE_CALL match_results_base<iterator, Allocator>::set_first(iterator i
|
||||
}
|
||||
|
||||
template <class iterator, class Allocator>
|
||||
void BOOST_RE_CALL match_results_base<iterator, Allocator>::set_first(iterator i, std::size_t pos)
|
||||
void BOOST_RE_CALL match_results_base<iterator, Allocator>::set_first(iterator i, size_t pos)
|
||||
{
|
||||
cow();
|
||||
((sub_match<iterator>*)((char*)ref + sizeof(c_reference) + sizeof(sub_match<iterator>) * pos))->first = i;
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE fileiter.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Declares various platform independent file and
|
||||
* directory iterators, plus binary file input in
|
||||
* the form of class map_file.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_compile.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Declares reg_expression<> member functions. This is
|
||||
* an internal header file, do not include directly.
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_config.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: auto-configure options for regular expression code.
|
||||
*/
|
||||
|
||||
@ -76,15 +76,11 @@ full list of macros and their usage.
|
||||
#define BOOST_RE_PLATFORM_W32
|
||||
#endif
|
||||
|
||||
#if (defined(__MSL_CPP__) && __MSL_CPP__ < 0x6209) || defined(__DECCXX)
|
||||
// no std::messages facet
|
||||
#ifdef __MWERKS__
|
||||
// no std::maessages facet
|
||||
#define BOOST_RE_NO_MESSAGES
|
||||
#endif
|
||||
|
||||
#if defined(__MSL__) || defined(__DECCXX)
|
||||
#define BOOST_RE_NO_CAT
|
||||
#endif
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
|
||||
#if __BORLANDC__ < 0x500
|
||||
@ -165,46 +161,6 @@ full list of macros and their usage.
|
||||
|
||||
#endif
|
||||
|
||||
// Intel C++
|
||||
#ifdef __ICL
|
||||
#ifndef BOOST_RE_CALL
|
||||
#ifdef _DEBUG
|
||||
#define BOOST_RE_CALL __cdecl
|
||||
#else
|
||||
#define BOOST_RE_CALL __fastcall
|
||||
#endif
|
||||
#endif
|
||||
#ifndef BOOST_RE_CCALL
|
||||
#define BOOST_RE_CCALL __stdcall
|
||||
#endif
|
||||
|
||||
#if !defined(_CPPUNWIND) && defined(__cplusplus)
|
||||
#error exception handling support required
|
||||
#endif
|
||||
|
||||
#define BOOST_RE_NO_CAT
|
||||
#define BOOST_RE_NO_SWPRINTF
|
||||
|
||||
#ifdef _MT
|
||||
#define BOOST_RE_THREADS
|
||||
#endif
|
||||
|
||||
//
|
||||
// import export options:
|
||||
#if defined(_DLL) && !defined(BOOST_RE_STATIC_LIB) && !defined(BOOST_RE_NO_LIB)
|
||||
#ifdef BOOST_RE_BUILD_DLL
|
||||
#define BOOST_RE_IX_DECL __declspec( dllexport )
|
||||
#elif !defined(BOOST_REGEX_LIBRARY_INCLUDE_HPP) && !defined(BOOST_RE_NO_LIB)
|
||||
#define BOOST_RE_IX_DECL __declspec( dllimport )
|
||||
#endif
|
||||
#endif
|
||||
//
|
||||
// disable automatic library selection for now
|
||||
// anyone know if this works?
|
||||
//#include <boost/regex/detail/regex_library_include.hpp>
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
// only want "real" Visual C++ here:
|
||||
#if defined(BOOST_MSVC) && !defined(__WATCOMC__) && !defined(__BORLANDC__) && !defined(__GNUC__) && !defined(__MWERKS__) && !defined (__ICL)
|
||||
@ -300,6 +256,10 @@ full list of macros and their usage.
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __MWERKS__
|
||||
#define BOOST_RE_NO_CAT
|
||||
#endif
|
||||
|
||||
#ifdef __SUNPRO_CC
|
||||
#if (__SUNPRO_CC < 0x500)
|
||||
#define BOOST_RE_NO_NAMESPACES
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_cstring.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: This is an internal header file, do not include directly.
|
||||
* String support and helper functions, for regular
|
||||
* expression library.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_format.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Provides formatting output routines for search and replace
|
||||
* operations. Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_kmp.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Provides Knuth Morris Pratt search operations.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_libary_include.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Automatic library inclusion for Borland/Microsoft compilers.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_match.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Regular expression matching algorithms.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
@ -1158,9 +1158,7 @@ unsigned int reg_grep2(Predicate foo, I first, I last, const reg_expression<char
|
||||
|
||||
// depending on what the first record is we may be able to
|
||||
// optimise the search:
|
||||
type = (flags & match_continuous) ?
|
||||
static_cast<unsigned int>(regbase::restart_continue)
|
||||
: static_cast<unsigned int>(access::restart_type(e));
|
||||
type = (flags & match_continuous) ? regbase::restart_continue : access::restart_type(e);
|
||||
|
||||
if(type == regbase::restart_buf)
|
||||
return cmatches;
|
||||
|
@ -111,13 +111,14 @@
|
||||
/* BOOST_RE_OLD_IOSTREAM If the new iostreamm classes are not available */
|
||||
/* #define BOOST_RE_OLD_IOSTREAM */
|
||||
|
||||
/* BOOST_NO_STD_DISTANCE If there is no std::distance. */
|
||||
/* BOOST_NO_STD_DISTANCE If std::distance is not present or non-standard */
|
||||
/* #define BOOST_NO_STD_DISTANCE */
|
||||
|
||||
/* BOOST_RE_NO_OI_ASSIGN If output iterators ostream_iterator<>, back_insert_iterator<> and
|
||||
front_insert_iterator<> do not have assignment operators */
|
||||
/* #define BOOST_RE_NO_OI_ASSIGN */
|
||||
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
#ifndef BOOST_RE_NO_ITERATOR_H
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_raw_buffer.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Raw character buffer for regex code.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_split.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Implements regex_split and associated functions.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_stack.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Implements customised internal regex stacks.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_synch.hpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Thread synchronisation for regex code.
|
||||
* Note this is an internal header file included
|
||||
* by regex.hpp, do not include on its own.
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE pattern_except.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Declares pattern-matching exception classes.
|
||||
*/
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Declares regular expression traits classes.
|
||||
*/
|
||||
|
||||
@ -183,7 +183,7 @@ public:
|
||||
typedef std::string string_type;
|
||||
typedef int locale_type;
|
||||
|
||||
static std::size_t BOOST_RE_CALL length(const char_type* p)
|
||||
static size_t BOOST_RE_CALL length(const char_type* p)
|
||||
{
|
||||
return std::strlen(p);
|
||||
}
|
||||
@ -267,7 +267,7 @@ public:
|
||||
typedef unsigned int size_type;
|
||||
typedef std::basic_string<wchar_t> string_type;
|
||||
typedef int locale_type;
|
||||
static std::size_t BOOST_RE_CALL length(const char_type* p)
|
||||
static size_t BOOST_RE_CALL length(const char_type* p)
|
||||
{
|
||||
return std::wcslen(p);
|
||||
}
|
||||
@ -390,7 +390,7 @@ public:
|
||||
typedef std::string string_type;
|
||||
typedef int locale_type;
|
||||
|
||||
static std::size_t BOOST_RE_CALL length(const char_type* p)
|
||||
static size_t BOOST_RE_CALL length(const char_type* p)
|
||||
{
|
||||
return std::strlen(p);
|
||||
}
|
||||
@ -464,7 +464,7 @@ public:
|
||||
typedef unsigned int size_type;
|
||||
typedef std::basic_string<wchar_t> string_type;
|
||||
typedef int locale_type;
|
||||
static std::size_t BOOST_RE_CALL length(const char_type* p)
|
||||
static size_t BOOST_RE_CALL length(const char_type* p)
|
||||
{
|
||||
return std::wcslen(p);
|
||||
}
|
||||
@ -607,7 +607,7 @@ public:
|
||||
cpp_regex_traits();
|
||||
~cpp_regex_traits();
|
||||
|
||||
static std::size_t BOOST_RE_CALL length(const char_type* p)
|
||||
static size_t BOOST_RE_CALL length(const char_type* p)
|
||||
{
|
||||
return std::strlen(p);
|
||||
}
|
||||
@ -693,7 +693,7 @@ private:
|
||||
|
||||
public:
|
||||
|
||||
static std::size_t BOOST_RE_CALL length(const char_type* p)
|
||||
static size_t BOOST_RE_CALL length(const char_type* p)
|
||||
{
|
||||
return std::wcslen(p);
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
||||
</td>
|
||||
<td valign="top" width="50%"><h3 align="center">Regex++,
|
||||
Index.</h3>
|
||||
<p><i>(version 3.12, 18 April 2000)</i> </p>
|
||||
<p><i>(version 3.11, 18 April 2000)</i> </p>
|
||||
<pre><i>Copyright (c) 1998-2000
|
||||
Dr John Maddock
|
||||
|
||||
|
@ -23,7 +23,7 @@ content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
||||
</td>
|
||||
<td valign="top" width="50%"><h3 align="center">Regex++,
|
||||
Introduction.</h3>
|
||||
<p><i>(version 3.12, 18 April 2000)</i> </p>
|
||||
<p><i>(version 3.11, 18 April 2000)</i> </p>
|
||||
<pre><i>Copyright (c) 1998-2000
|
||||
Dr John Maddock
|
||||
|
||||
@ -247,7 +247,7 @@ can use it, instructions for specific platforms are as follows: </p>
|
||||
|
||||
<ul>
|
||||
<li>Open up a console window and change to the
|
||||
<boost>\libs\regex\build directory. </li>
|
||||
<boost>\libs\regex\lib directory. </li>
|
||||
<li>Select the appropriate makefile (bcb4.mak for C++ Builder
|
||||
4, bcb5.mak for C++ Builder 5, and bcc55.mak for the 5.5
|
||||
command line tools). </li>
|
||||
@ -304,7 +304,7 @@ href="http://ourworld.compuserve.com/homepages/john_maddock/regexpp.htm">library
|
||||
<p>Open up a command prompt, which has the necessary MSVC
|
||||
environment variables defined (for example by using the batch
|
||||
file Vcvars32.bat installed by the Visual Studio installation),
|
||||
and change to the <boost>\libs\regex\build directory. </p>
|
||||
and change to the <boost>\libs\regex\lib directory. </p>
|
||||
|
||||
<p>Select the correct makefile - vc6.mak for "vanilla"
|
||||
Visual C++ 6 or vc6-stlport.mak if you are using STLPort.</p>
|
||||
@ -410,7 +410,7 @@ run one of the makefiles described above.</p>
|
||||
|
||||
<p><b>Sun Workshop 6.1</b></p>
|
||||
|
||||
<p>There is a makefile for the sun (6.1) compiler (C++ version 3.12).
|
||||
<p>There is a makefile for the sun (6.1) compiler (C++ version 3.11).
|
||||
From the command prompt change to the <boost>/libs/regex/build
|
||||
directory and type: </p>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
<H3> Regex++, POSIX API Reference.</H3>
|
||||
</CENTER>
|
||||
<CENTER>
|
||||
<I>(version 3.12, 18 April 2000)</I>
|
||||
<I>(version 3.11, 18 April 2000)</I>
|
||||
</CENTER>
|
||||
<PRE><I>Copyright (c) 1998-2000
|
||||
Dr John Maddock
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE c_regex_traits.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Implements the c_regex_traits<charT> traits class
|
||||
*/
|
||||
|
||||
@ -136,7 +136,7 @@ BOOST_RE_IX_DECL char* re_custom_error_messages[] = {
|
||||
0,
|
||||
};
|
||||
|
||||
#if !defined(LC_MESSAGES)
|
||||
#if !defined(LC_MESSAGES) && defined(BOOST_RE_NO_CAT)
|
||||
#define LC_MESSAGES LC_CTYPE
|
||||
#endif
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: c_regex_traits_common.cpp
|
||||
* VERSION: 3.12
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Implements common code and data for the
|
||||
* c_regex_traits<charT> traits classes.
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: c_regex_traits.cpp
|
||||
* VERSION: 3.12
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Implements the cpp_regex_traits<charT> traits class
|
||||
*/
|
||||
#include <clocale>
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: cregex.cpp
|
||||
* VERSION: 3.12
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Implements high level class boost::RexEx
|
||||
*/
|
||||
#include <boost/cregex.hpp>
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: fileiter.cpp
|
||||
* VERSION: 3.12
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Implements file io primitives + directory searching for class boost::RegEx.
|
||||
*/
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: posix_api.cpp
|
||||
* VERSION: 3.12
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Implements the Posix API wrappers.
|
||||
*/
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: primary_transform.hpp
|
||||
* VERSION: 3.12
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Heuristically determines the sort string format in use
|
||||
* by the current locale.
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: regex.cpp
|
||||
* VERSION: 3.12
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Misc boost::regbase member funnctions.
|
||||
*/
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: regex_debug.cpp
|
||||
* VERSION: 3.12
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Misc. debugging helpers.
|
||||
*/
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: regex_synch.cpp
|
||||
* VERSION: 3.12
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Thread synch helper functions, for regular
|
||||
* expression library.
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: w32_regex_traits.cpp
|
||||
* VERSION: 3.12
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Implements the w32_regex_traits<charT> traits class
|
||||
*/
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE: wide_posix_api.cpp
|
||||
* VERSION: 3.12
|
||||
* VERSION: 3.11
|
||||
* DESCRIPTION: Implements the wide character POSIX API wrappers.
|
||||
*/
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
<H3> Regex++, Regular Expression Syntax.</H3>
|
||||
</CENTER>
|
||||
<CENTER>
|
||||
<I>(version 3.12, 18 April 2000)</I>
|
||||
<I>(version 3.11, 18 April 2000)</I>
|
||||
</CENTER>
|
||||
<PRE><I>Copyright (c) 1998-2000
|
||||
Dr John Maddock
|
||||
|
@ -21,7 +21,7 @@ content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
||||
</td>
|
||||
<td valign="top" width="50%"><h2 align="center">Regex++,
|
||||
Template Class and Algorithm Reference.</h2>
|
||||
<p><i>(version 3.12, 18 April 2000)</i> </p>
|
||||
<p><i>(version 3.11, 18 April 2000)</i> </p>
|
||||
<pre><i>Copyright (c) 1998-9
|
||||
Dr John Maddock
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
*
|
||||
* FILE parse.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
*
|
||||
* Input parsing functions for regress.
|
||||
*
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_test.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Builds regression test program with default
|
||||
* locale and narrow character tests. Also
|
||||
* instantiates all the templates in the library
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
*
|
||||
* FILE regress.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
*
|
||||
* main() and associated code for regress.
|
||||
*
|
||||
@ -152,10 +152,6 @@ istream& get_line(istream& is, nstring_type& s, char delim)
|
||||
return is;
|
||||
}
|
||||
|
||||
#ifdef BOOST_NO_STDC_NAMESPACE
|
||||
namespace std{ using ::mbtowc; }
|
||||
#endif
|
||||
|
||||
istream& get_line(istream& is, string_type& s, char delim)
|
||||
{
|
||||
nstring_type t;
|
||||
@ -168,7 +164,7 @@ istream& get_line(istream& is, string_type& s, char delim)
|
||||
int cchars;
|
||||
while(i != j)
|
||||
{
|
||||
cchars = std::mbtowc(buf, i, j - i);
|
||||
cchars = mbtowc(buf, i, j - i);
|
||||
if(cchars == -1)
|
||||
break;
|
||||
if(cchars == 0)
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
*
|
||||
* FILE regress.h
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
*
|
||||
* Function and data declarations for regress.
|
||||
*
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
*
|
||||
* FILE tests.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
*
|
||||
* the actual tests conducted by regress.
|
||||
*
|
||||
|
@ -16,7 +16,7 @@
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE regex_test.cpp
|
||||
* VERSION 3.12
|
||||
* VERSION 3.11
|
||||
* DESCRIPTION: Builds regression test program with default
|
||||
* locale and wide character tests. Also
|
||||
* instantiates all the templates in the library
|
||||
|
@ -19,7 +19,7 @@
|
||||
HEIGHT="86" ALT="C++ Boost"> </H3>
|
||||
</TD>
|
||||
<TD VALIGN="top" WIDTH="50%"><H3 ALIGN="center">Regex++, Traits Class
|
||||
Reference. <I>(version 3.12, 18 April 2000)</I> </H3>
|
||||
Reference. <I>(version 3.11, 18 April 2000)</I> </H3>
|
||||
<PRE>
|
||||
<I>Copyright (c) 1998-2000
|
||||
Dr John Maddock
|
||||
|
Reference in New Issue
Block a user