mirror of
https://github.com/boostorg/regex.git
synced 2025-07-02 23:26:34 +02:00
Regex point release 3.02
[SVN r8226]
This commit is contained in:
@ -20,7 +20,7 @@
|
|||||||
<H3> Regex++, Appendices.</H3>
|
<H3> Regex++, Appendices.</H3>
|
||||||
</CENTER>
|
</CENTER>
|
||||||
<CENTER>
|
<CENTER>
|
||||||
<I>(version 3.01, 18 April 2000)</I>
|
<I>(version 3.02, 18 April 2000)</I>
|
||||||
</CENTER>
|
</CENTER>
|
||||||
<PRE><I>Copyright (c) 1998-2000
|
<PRE><I>Copyright (c) 1998-2000
|
||||||
Dr John Maddock
|
Dr John Maddock
|
||||||
|
@ -8,6 +8,9 @@ CXX= -O2 -I../../../../ -I./
|
|||||||
jgrep : jgrep.cpp main.cpp
|
jgrep : jgrep.cpp main.cpp
|
||||||
g++ -ojgrep $(CXX) jgrep.cpp main.cpp -L../../lib/gcc -lregex++
|
g++ -ojgrep $(CXX) jgrep.cpp main.cpp -L../../lib/gcc -lregex++
|
||||||
|
|
||||||
|
debug : jgrep.cpp main.cpp
|
||||||
|
g++ -ojgrep -I../../../../ -I./ -g jgrep.cpp main.cpp -L../../lib/gcc -lregex++debug
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* FILE jgrep.cpp
|
* FILE jgrep.cpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* FILE jgrep.h
|
* FILE jgrep.h
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _JGREP_H
|
#ifndef _JGREP_H
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* FILE main.cpp
|
* FILE main.cpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,13 +3,16 @@
|
|||||||
#
|
#
|
||||||
# g++ 2.95 and greater
|
# g++ 2.95 and greater
|
||||||
#
|
#
|
||||||
CXX= g++ -O2 -pedantic -Wall -I../../../../ -I./ -L../../lib/gcc
|
CXX= g++ -pedantic -Wall -I../../../../ -I./ -L../../lib/gcc
|
||||||
|
|
||||||
total : r2
|
total : r2
|
||||||
./r2 tests.txt
|
./r2 tests.txt
|
||||||
|
|
||||||
r2 : tests.cpp parse.cpp regress.cpp
|
r2 : tests.cpp parse.cpp regress.cpp
|
||||||
$(CXX) -o r2 tests.cpp parse.cpp regress.cpp -lregex++
|
$(CXX) -O2 -o r2 tests.cpp parse.cpp regress.cpp -lregex++
|
||||||
|
|
||||||
|
debug : tests.cpp parse.cpp regress.cpp
|
||||||
|
$(CXX) -g -o r2 tests.cpp parse.cpp regress.cpp -lregex++debug
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* FILE parse.cpp
|
* FILE parse.cpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
*
|
*
|
||||||
* Input parsing functions for regress.
|
* Input parsing functions for regress.
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_test.cpp
|
* FILE regex_test.cpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Builds regression test program with default
|
* DESCRIPTION: Builds regression test program with default
|
||||||
* locale and narrow character tests. Also
|
* locale and narrow character tests. Also
|
||||||
* instantiates all the templates in the library
|
* instantiates all the templates in the library
|
||||||
@ -54,7 +54,7 @@ regbase::flag_type f = regbase::escape_in_lists | regbase::char_classes | regbas
|
|||||||
| regbase::bk_parens | regbase::bk_refs | regbase::bk_vbar | regbase::use_except
|
| regbase::bk_parens | regbase::bk_refs | regbase::bk_vbar | regbase::use_except
|
||||||
| regbase::failbit | regbase::literal | regbase::icase | regbase::nocollate | regbase::basic
|
| regbase::failbit | regbase::literal | regbase::icase | regbase::nocollate | regbase::basic
|
||||||
| regbase::extended | regbase::normal | regbase::emacs | regbase::awk | regbase::grep | regbase::egrep | regbase::sed;
|
| regbase::extended | regbase::normal | regbase::emacs | regbase::awk | regbase::grep | regbase::egrep | regbase::sed;
|
||||||
|
#if 0
|
||||||
template class reg_expression<test_char_type>;
|
template class reg_expression<test_char_type>;
|
||||||
template class sub_match<ra_it>;
|
template class sub_match<ra_it>;
|
||||||
template class match_results<ra_it>;
|
template class match_results<ra_it>;
|
||||||
@ -163,7 +163,7 @@ template test_string_type regex_merge(const test_string_type&,
|
|||||||
unsigned int flags);
|
unsigned int flags);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* FILE regress.cpp
|
* FILE regress.cpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
*
|
*
|
||||||
* main() and associated code for regress.
|
* main() and associated code for regress.
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* FILE regress.h
|
* FILE regress.h
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
*
|
*
|
||||||
* Function and data declarations for regress.
|
* Function and data declarations for regress.
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* FILE tests.cpp
|
* FILE tests.cpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
*
|
*
|
||||||
* the actual tests conducted by regress.
|
* the actual tests conducted by regress.
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_test.cpp
|
* FILE regex_test.cpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Builds regression test program with default
|
* DESCRIPTION: Builds regression test program with default
|
||||||
* locale and wide character tests. Also
|
* locale and wide character tests. Also
|
||||||
* instantiates all the templates in the library
|
* instantiates all the templates in the library
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
|
|
||||||
# very basic makefile for timer.exe
|
# very basic makefile for timer.exe
|
||||||
#
|
#
|
||||||
# egcs compiler GCC
|
# GNU compiler GCC
|
||||||
#
|
#
|
||||||
CXX= -O2 -I../../../../ -I./
|
CXX=-I../../../../ -I./
|
||||||
|
|
||||||
timer : regex_timer.o timer.o
|
timer : regex_timer.cpp timer.cpp
|
||||||
g++ -o -L../../lib/gcc timer regex_timer.o timer.o -lregex++
|
g++ $(CXX) -O2 -o timer regex_timer.cpp timer.cpp -L../../lib/gcc -lregex++
|
||||||
|
|
||||||
timer.o : ../../../timer/timer.cpp
|
debug : regex_timer.cpp timer.cpp
|
||||||
g++ -c $(CXX) ../../../timer/timer.cpp
|
g++ $(CXX) -g -o timer regex_timer.cpp timer.cpp -L../../lib/gcc -lregex++debug
|
||||||
|
|
||||||
regex_timer.o : regex_timer.cpp
|
|
||||||
g++ -c $(CXX) regex_timer.cpp
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
2
faq.htm
2
faq.htm
@ -20,7 +20,7 @@
|
|||||||
<H3> Regex++, FAQ.</H3>
|
<H3> Regex++, FAQ.</H3>
|
||||||
</CENTER>
|
</CENTER>
|
||||||
<CENTER>
|
<CENTER>
|
||||||
<I>(version 3.01, 18 April 2000)</I>
|
<I>(version 3.02, 18 April 2000)</I>
|
||||||
</CENTER>
|
</CENTER>
|
||||||
<PRE><I>Copyright (c) 1998-2000
|
<PRE><I>Copyright (c) 1998-2000
|
||||||
Dr John Maddock
|
Dr John Maddock
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<H3> Regex++, Format String Reference.</H3>
|
<H3> Regex++, Format String Reference.</H3>
|
||||||
</CENTER>
|
</CENTER>
|
||||||
<CENTER>
|
<CENTER>
|
||||||
<I>(version 3.01, 18 April 2000)</I>
|
<I>(version 3.02, 18 April 2000)</I>
|
||||||
</CENTER>
|
</CENTER>
|
||||||
<PRE><I>Copyright (c) 1998-2000
|
<PRE><I>Copyright (c) 1998-2000
|
||||||
Dr John Maddock
|
Dr John Maddock
|
||||||
|
@ -20,7 +20,7 @@ content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
|||||||
</td>
|
</td>
|
||||||
<td valign="top" width="50%"><h3 align="center">Regex++,
|
<td valign="top" width="50%"><h3 align="center">Regex++,
|
||||||
RegEx Class Reference. </h3>
|
RegEx Class Reference. </h3>
|
||||||
<p><i>(version 3.01, 18 April 2000)</i> </p>
|
<p><i>(version 3.02, 18 April 2000)</i> </p>
|
||||||
<pre><i>Copyright (c) 1998-2000
|
<pre><i>Copyright (c) 1998-2000
|
||||||
Dr John Maddock
|
Dr John Maddock
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE cregex.cpp
|
* FILE cregex.cpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Declares POSIX API functions
|
* DESCRIPTION: Declares POSIX API functions
|
||||||
* + boost::RegEx high level wrapper.
|
* + boost::RegEx high level wrapper.
|
||||||
*/
|
*/
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE fileiter.hpp
|
* FILE fileiter.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Declares various platform independent file and
|
* DESCRIPTION: Declares various platform independent file and
|
||||||
* directory iterators, plus binary file input in
|
* directory iterators, plus binary file input in
|
||||||
* the form of class map_file.
|
* the form of class map_file.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_compile.hpp
|
* FILE regex_compile.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Declares reg_expression<> member functions. This is
|
* DESCRIPTION: Declares reg_expression<> member functions. This is
|
||||||
* an internal header file, do not include directly.
|
* an internal header file, do not include directly.
|
||||||
*/
|
*/
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_config.hpp
|
* FILE regex_config.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: auto-configure options for regular expression code.
|
* DESCRIPTION: auto-configure options for regular expression code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -46,6 +46,7 @@ Do not change this file unless you really really have to, add options to
|
|||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
#include <clocale>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <boost/smart_ptr.hpp>
|
#include <boost/smart_ptr.hpp>
|
||||||
#else
|
#else
|
||||||
@ -280,10 +281,16 @@ Do not change this file unless you really really have to, add options to
|
|||||||
#define BOOST_RE_NO_TEMPLATE_SWITCH_MERGE
|
#define BOOST_RE_NO_TEMPLATE_SWITCH_MERGE
|
||||||
#endif
|
#endif
|
||||||
#define BOOST_RE_NO_CAT
|
#define BOOST_RE_NO_CAT
|
||||||
#define BOOST_RE_OLD_IOSTREAM
|
|
||||||
#define BOOST_RE_NESTED_TEMPLATE_DECL
|
#define BOOST_RE_NESTED_TEMPLATE_DECL
|
||||||
#define BOOST_RE_NO_WCSTRING
|
|
||||||
#define BOOST_RE_NO_SWPRINTF
|
#define BOOST_RE_NO_SWPRINTF
|
||||||
|
#include <string>
|
||||||
|
#ifdef __BASTRING__
|
||||||
|
#define BOOST_RE_NO_WCSTRING
|
||||||
|
#endif
|
||||||
|
#if defined(__BEOS__)
|
||||||
|
#define BOOST_RE_NO_WCTYPE_H
|
||||||
|
#define BOOST_RE_NO_WCSTRING
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -412,7 +419,7 @@ typedef unsigned long jm_uintfast32_t;
|
|||||||
some of these (std)
|
some of these (std)
|
||||||
may be guesswork: */
|
may be guesswork: */
|
||||||
|
|
||||||
# if !defined (__SGI_STL_OWN_IOSTREAMS) || defined (__STL_HAS_NO_NEW_IOSTREAMS) || defined (__STL_USE_NO_IOSTREAMS)
|
# if !defined (__SGI_STL_OWN_IOSTREAMS) || defined (__STL_HAS_NO_NEW_IOSTREAMS) || defined (__STL_USE_NO_IOSTREAMS) || defined(__STL_NO_MBSTATE_T)
|
||||||
// Old IO streams:
|
// Old IO streams:
|
||||||
#define BOOST_RE_NO_LOCALE_H
|
#define BOOST_RE_NO_LOCALE_H
|
||||||
#define BOOST_RE_OLD_IOSTREAM
|
#define BOOST_RE_OLD_IOSTREAM
|
||||||
@ -421,6 +428,9 @@ typedef unsigned long jm_uintfast32_t;
|
|||||||
#define BOOST_RE_USE_FACET(l, m) (*std::_Use_facet<m >(l))
|
#define BOOST_RE_USE_FACET(l, m) (*std::_Use_facet<m >(l))
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __BASTRING__
|
||||||
|
#define BOOST_RE_NO_WCSTRING
|
||||||
|
#endif
|
||||||
#if !defined(__STL_MEMBER_TEMPLATE_CLASSES) || !defined(__STL_MEMBER_TEMPLATES)
|
#if !defined(__STL_MEMBER_TEMPLATE_CLASSES) || !defined(__STL_MEMBER_TEMPLATES)
|
||||||
#define BOOST_RE_NO_MEMBER_TEMPLATES
|
#define BOOST_RE_NO_MEMBER_TEMPLATES
|
||||||
#endif
|
#endif
|
||||||
@ -1144,10 +1154,6 @@ namespace std{
|
|||||||
using ::strcmp;
|
using ::strcmp;
|
||||||
using ::strcpy;
|
using ::strcpy;
|
||||||
using ::strlen;
|
using ::strlen;
|
||||||
using ::swprintf;
|
|
||||||
using ::wcslen;
|
|
||||||
using ::wcscpy;
|
|
||||||
using ::wcscmp;
|
|
||||||
using ::isalpha;
|
using ::isalpha;
|
||||||
using ::iscntrl;
|
using ::iscntrl;
|
||||||
using ::isdigit;
|
using ::isdigit;
|
||||||
@ -1157,6 +1163,15 @@ namespace std{
|
|||||||
using ::isspace;
|
using ::isspace;
|
||||||
using ::isxdigit;
|
using ::isxdigit;
|
||||||
using ::tolower;
|
using ::tolower;
|
||||||
|
using ::abs;
|
||||||
|
using ::setlocale;
|
||||||
|
#ifndef BOOST_RE_NO_WCSTRING
|
||||||
|
#ifndef BOOST_RE_NO_SWPRINTF
|
||||||
|
using ::swprintf;
|
||||||
|
#endif
|
||||||
|
using ::wcslen;
|
||||||
|
using ::wcscpy;
|
||||||
|
using ::wcscmp;
|
||||||
using ::iswalpha;
|
using ::iswalpha;
|
||||||
using ::iswcntrl;
|
using ::iswcntrl;
|
||||||
using ::iswdigit;
|
using ::iswdigit;
|
||||||
@ -1167,7 +1182,12 @@ namespace std{
|
|||||||
using ::iswxdigit;
|
using ::iswxdigit;
|
||||||
using ::towlower;
|
using ::towlower;
|
||||||
using ::wcsxfrm;
|
using ::wcsxfrm;
|
||||||
|
using ::wcstombs;
|
||||||
|
using ::mbstowcs;
|
||||||
|
#ifndef BOOST_RE_NO_LOCALE_H
|
||||||
using ::mbstate_t;
|
using ::mbstate_t;
|
||||||
|
#endif
|
||||||
|
#endif // BOOST_RE_NO_WCSTRING
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_cstring.hpp
|
* FILE regex_cstring.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: This is an internal header file, do not include directly.
|
* DESCRIPTION: This is an internal header file, do not include directly.
|
||||||
* String support and helper functions, for regular
|
* String support and helper functions, for regular
|
||||||
* expression library.
|
* expression library.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_format.hpp
|
* FILE regex_format.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Provides formatting output routines for search and replace
|
* DESCRIPTION: Provides formatting output routines for search and replace
|
||||||
* operations. Note this is an internal header file included
|
* operations. Note this is an internal header file included
|
||||||
* by regex.hpp, do not include on its own.
|
* by regex.hpp, do not include on its own.
|
||||||
@ -42,7 +42,7 @@ namespace re_detail{
|
|||||||
#if __BORLANDC__ == 0x530
|
#if __BORLANDC__ == 0x530
|
||||||
#pragma option push -a4 -b -Ve
|
#pragma option push -a4 -b -Ve
|
||||||
#elif __BORLANDC__ > 0x530
|
#elif __BORLANDC__ > 0x530
|
||||||
#pragma option push -a8 -b -Ve
|
#pragma option push -a8 -b -Ve -w-8037
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_kmp.hpp
|
* FILE regex_kmp.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Provides Knuth Morris Pratt search operations.
|
* DESCRIPTION: Provides Knuth Morris Pratt search operations.
|
||||||
* Note this is an internal header file included
|
* Note this is an internal header file included
|
||||||
* by regex.hpp, do not include on its own.
|
* by regex.hpp, do not include on its own.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_libary_include.hpp
|
* FILE regex_libary_include.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Automatic library inclusion for Borland/Microsoft compilers.
|
* DESCRIPTION: Automatic library inclusion for Borland/Microsoft compilers.
|
||||||
* Note this is an internal header file included
|
* Note this is an internal header file included
|
||||||
* by regex.hpp, do not include on its own.
|
* by regex.hpp, do not include on its own.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_match.hpp
|
* FILE regex_match.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Regular expression matching algorithms.
|
* DESCRIPTION: Regular expression matching algorithms.
|
||||||
* Note this is an internal header file included
|
* Note this is an internal header file included
|
||||||
* by regex.hpp, do not include on its own.
|
* by regex.hpp, do not include on its own.
|
||||||
@ -141,7 +141,6 @@ iterator BOOST_RE_CALL re_is_set_member(iterator next,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(traits_inst.is_class(col, set_->cclasses) == true)
|
if(traits_inst.is_class(col, set_->cclasses) == true)
|
||||||
return set_->isnot ? next : ++next;
|
return set_->isnot ? next : ++next;
|
||||||
return set_->isnot ? ++next : next;
|
return set_->isnot ? ++next : next;
|
||||||
@ -1817,3 +1816,4 @@ inline unsigned int regex_grep(bool (*foo)(const match_results<std::basic_string
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,61 +2,61 @@
|
|||||||
#ifndef BOOST_RE_OPT_H
|
#ifndef BOOST_RE_OPT_H
|
||||||
#define BOOST_RE_OPT_H
|
#define BOOST_RE_OPT_H
|
||||||
|
|
||||||
#undef BOOST_RE_AUTO_CONFIGURE
|
/* #define BOOST_RE_AUTO_CONFIGURE */
|
||||||
#ifdef BOOST_RE_AUTO_CONFIGURE
|
#ifdef BOOST_RE_AUTO_CONFIGURE
|
||||||
|
|
||||||
/* Compiler options: */
|
/* Compiler options: */
|
||||||
|
|
||||||
/* BOOST_NO_STDC_NAMESPACE C library not in namespace std */
|
/* BOOST_NO_STDC_NAMESPACE C library not in namespace std */
|
||||||
#undef BOOST_NO_STDC_NAMESPACE
|
/* #define BOOST_NO_STDC_NAMESPACE */
|
||||||
|
|
||||||
/* BOOST_RE_NO_MUTABLE Disables use of mutable keyword. */
|
/* BOOST_RE_NO_MUTABLE Disables use of mutable keyword. */
|
||||||
#undef BOOST_RE_NO_MUTABLE
|
/* #define BOOST_RE_NO_MUTABLE */
|
||||||
|
|
||||||
/* BOOST_RE_INT32_LONG If 32-bit integers are long */
|
/* BOOST_RE_INT32_LONG If 32-bit integers are long */
|
||||||
#undef BOOST_RE_INT32_LONG
|
/* #define BOOST_RE_INT32_LONG */
|
||||||
|
|
||||||
/* BOOST_RE_NO_TEMPLATE_FRIEND If template friend declarations are not supported */
|
/* BOOST_RE_NO_TEMPLATE_FRIEND If template friend declarations are not supported */
|
||||||
#undef BOOST_RE_NO_TEMPLATE_FRIEND
|
/* #define BOOST_RE_NO_TEMPLATE_FRIEND */
|
||||||
|
|
||||||
/* BOOST_RE_PLATFORM_WINDOWS Platform is MS Windows. */
|
/* BOOST_RE_PLATFORM_WINDOWS Platform is MS Windows. */
|
||||||
#undef BOOST_RE_PLATFORM_WINDOWS
|
/* #define BOOST_RE_PLATFORM_WINDOWS */
|
||||||
|
|
||||||
/* BOOST_RE_PLATFORM_DOS Platform if MSDOS. */
|
/* BOOST_RE_PLATFORM_DOS Platform if MSDOS. */
|
||||||
#undef BOOST_RE_PLATFORM_DOS
|
/* #define BOOST_RE_PLATFORM_DOS */
|
||||||
|
|
||||||
/* BOOST_RE_PLATFORM_W32 Platform is MS Win32 */
|
/* BOOST_RE_PLATFORM_W32 Platform is MS Win32 */
|
||||||
#undef BOOST_RE_PLATFORM_W32
|
/* #define BOOST_RE_PLATFORM_W32 */
|
||||||
|
|
||||||
/* BOOST_RE_NO_W32 Disable Win32 support even when present */
|
/* BOOST_RE_NO_W32 Disable Win32 support even when present */
|
||||||
#undef BOOST_RE_NO_W32
|
/* #define BOOST_RE_NO_W32 */
|
||||||
|
|
||||||
/* BOOST_RE_NO_BOOL If bool is not a distict type. */
|
/* BOOST_RE_NO_BOOL If bool is not a distict type. */
|
||||||
#undef BOOST_RE_NO_BOOL
|
/* #define BOOST_RE_NO_BOOL */
|
||||||
|
|
||||||
/* BOOST_RE_NO_WCHAR_H If there is no <wchar.h> */
|
/* BOOST_RE_NO_WCHAR_H If there is no <wchar.h> */
|
||||||
#undef BOOST_RE_NO_WCHAR_H
|
/* #define BOOST_RE_NO_WCHAR_H */
|
||||||
|
|
||||||
/* BOOST_RE_NO_WCTYPE_H If there is no <wctype.h> */
|
/* BOOST_RE_NO_WCTYPE_H If there is no <wctype.h> */
|
||||||
#undef BOOST_RE_NO_WCTYPE_H
|
/* #define BOOST_RE_NO_WCTYPE_H */
|
||||||
|
|
||||||
/* BOOST_RE_NO_WCSTRING If there are no wcslen and wcsncmp functions available. */
|
/* BOOST_RE_NO_WCSTRING If there are no wcslen and wcsncmp functions available. */
|
||||||
#undef BOOST_RE_NO_WCSTRING
|
/* #define BOOST_RE_NO_WCSTRING */
|
||||||
|
|
||||||
/* BOOST_RE_NO_SWPRINTF If there is no swprintf available. */
|
/* BOOST_RE_NO_SWPRINTF If there is no swprintf available. */
|
||||||
#undef BOOST_RE_NO_SWPRINTF
|
/* #define BOOST_RE_NO_SWPRINTF */
|
||||||
|
|
||||||
/* BOOST_RE_NO_WSPRINTF If there is no wsprintf available. */
|
/* BOOST_RE_NO_WSPRINTF If there is no wsprintf available. */
|
||||||
#undef BOOST_RE_NO_WSPRINTF
|
/* #define BOOST_RE_NO_WSPRINTF */
|
||||||
|
|
||||||
/* BOOST_RE_NO_MEMBER_TEMPLATES If member function templates or nested template classes are not allowed. */
|
/* BOOST_RE_NO_MEMBER_TEMPLATES If member function templates or nested template classes are not allowed. */
|
||||||
#undef BOOST_RE_NO_MEMBER_TEMPLATES
|
/* #define BOOST_RE_NO_MEMBER_TEMPLATES */
|
||||||
|
|
||||||
/* BOOST_RE_NO_TEMPLATE_RETURNS If template functions based on return type are not supported. */
|
/* BOOST_RE_NO_TEMPLATE_RETURNS If template functions based on return type are not supported. */
|
||||||
#undef BOOST_RE_NO_TEMPLATE_RETURNS
|
/* #define BOOST_RE_NO_TEMPLATE_RETURNS */
|
||||||
|
|
||||||
/* BOOST_RE_NO_PARTIAL_FUNC_SPEC If partial template function specialisation is not supported */
|
/* BOOST_RE_NO_PARTIAL_FUNC_SPEC If partial template function specialisation is not supported */
|
||||||
#undef BOOST_RE_NO_PARTIAL_FUNC_SPEC
|
/* #define BOOST_RE_NO_PARTIAL_FUNC_SPEC */
|
||||||
|
|
||||||
/* BOOST_RE_NO_INT64 If 64bit integers are not supported. */
|
/* BOOST_RE_NO_INT64 If 64bit integers are not supported. */
|
||||||
/* BOOST_RE_INT64t The type of a 64-bit signed integer if available. */
|
/* BOOST_RE_INT64t The type of a 64-bit signed integer if available. */
|
||||||
@ -69,80 +69,80 @@
|
|||||||
4 = int64_t
|
4 = int64_t
|
||||||
5 = long long
|
5 = long long
|
||||||
6 = __int64 */
|
6 = __int64 */
|
||||||
#undef BOOST_RE_INT64_T_0
|
/* #define BOOST_RE_INT64_T_0 */
|
||||||
#undef BOOST_RE_INT64_T_1
|
/* #define BOOST_RE_INT64_T_1 */
|
||||||
#undef BOOST_RE_INT64_T_2
|
/* #define BOOST_RE_INT64_T_2 */
|
||||||
#undef BOOST_RE_INT64_T_3
|
/* #define BOOST_RE_INT64_T_3 */
|
||||||
#undef BOOST_RE_INT64_T_4
|
/* #define BOOST_RE_INT64_T_4 */
|
||||||
#undef BOOST_RE_INT64_T_5
|
/* #define BOOST_RE_INT64_T_5 */
|
||||||
#undef BOOST_RE_INT64_T_6
|
/* #define BOOST_RE_INT64_T_6 */
|
||||||
|
|
||||||
/* BOOST_RE_NO_CAT Define if the compiler does not support POSIX style
|
/* BOOST_RE_NO_CAT Define if the compiler does not support POSIX style
|
||||||
message categories (catopen catgets catclose). */
|
message categories (catopen catgets catclose). */
|
||||||
#undef BOOST_RE_NO_CAT
|
/* #define BOOST_RE_NO_CAT */
|
||||||
|
|
||||||
/* BOOST_RE_THREADS Define if the compiler supports multiple threads in
|
/* BOOST_RE_THREADS Define if the compiler supports multiple threads in
|
||||||
the current translation mode. */
|
the current translation mode. */
|
||||||
#undef BOOST_RE_THREADS
|
/* #define BOOST_RE_THREADS */
|
||||||
|
|
||||||
/* BOOST_RE_NESTED_TEMPLATE_DECL Defaults to template, the standard prefix when accessing
|
/* BOOST_RE_NESTED_TEMPLATE_DECL Defaults to template, the standard prefix when accessing
|
||||||
nested template classes, can be redefined to nothing if
|
nested template classes, can be redefined to nothing if
|
||||||
the compiler does not support this. */
|
the compiler does not support this. */
|
||||||
#undef BOOST_RE_NESTED_TEMPLATE_DECL
|
/* #define BOOST_RE_NESTED_TEMPLATE_DECL */
|
||||||
|
|
||||||
/* BOOST_RE_NO_TEMPLATE_INST If explicit template instantiation with the "template class X<T>"
|
/* BOOST_RE_NO_TEMPLATE_INST If explicit template instantiation with the "template class X<T>"
|
||||||
syntax is not supported */
|
syntax is not supported */
|
||||||
#undef BOOST_RE_NO_TEMPLATE_INST
|
/* #define BOOST_RE_NO_TEMPLATE_INST */
|
||||||
|
|
||||||
/* BOOST_RE_NO_TEMPLATE_MERGE If template in separate translation units don't merge at link time */
|
/* BOOST_RE_NO_TEMPLATE_MERGE If template in separate translation units don't merge at link time */
|
||||||
#undef BOOST_RE_NO_TEMPLATE_MERGE
|
/* #define BOOST_RE_NO_TEMPLATE_MERGE */
|
||||||
|
|
||||||
/* BOOST_RE_NO_TEMPLATE_MERGE_A If template merging from library archives is not supported */
|
/* BOOST_RE_NO_TEMPLATE_MERGE_A If template merging from library archives is not supported */
|
||||||
#undef BOOST_RE_NO_TEMPLATE_MERGE_A
|
/* #define BOOST_RE_NO_TEMPLATE_MERGE_A */
|
||||||
|
|
||||||
/* BOOST_RE_NO_TEMPLATE_SWITCH_MERGE If merging of templates containing switch statements is not supported */
|
/* BOOST_RE_NO_TEMPLATE_SWITCH_MERGE If merging of templates containing switch statements is not supported */
|
||||||
#undef BOOST_RE_NO_TEMPLATE_SWITCH_MERGE
|
/* #define BOOST_RE_NO_TEMPLATE_SWITCH_MERGE */
|
||||||
|
|
||||||
/* BOOST_RE_CALL Optionally define a calling convention for C++ functions */
|
/* BOOST_RE_CALL Optionally define a calling convention for C++ functions */
|
||||||
#undef BOOST_RE_CALL
|
/* #define BOOST_RE_CALL */
|
||||||
|
|
||||||
/* BOOST_RE_CCALL Optionally define a calling convention for C functions */
|
/* BOOST_RE_CCALL Optionally define a calling convention for C functions */
|
||||||
#undef BOOST_RE_CCALL
|
/* #define BOOST_RE_CCALL */
|
||||||
|
|
||||||
/* BOOST_RE_SIZEOF_SHORT sizeof(short) */
|
/* BOOST_RE_SIZEOF_SHORT sizeof(short) */
|
||||||
#undef BOOST_RE_SIZEOF_SHORT
|
/* #define BOOST_RE_SIZEOF_SHORT */
|
||||||
|
|
||||||
/* BOOST_RE_SIZEOF_INT sizeof(int) */
|
/* BOOST_RE_SIZEOF_INT sizeof(int) */
|
||||||
#undef BOOST_RE_SIZEOF_INT
|
/* #define BOOST_RE_SIZEOF_INT */
|
||||||
|
|
||||||
/* BOOST_RE_SIZEOF_LONG sizeof(long) */
|
/* BOOST_RE_SIZEOF_LONG sizeof(long) */
|
||||||
#undef BOOST_RE_SIZEOF_LONG
|
/* #define BOOST_RE_SIZEOF_LONG */
|
||||||
|
|
||||||
/* BOOST_RE_SIZEOF_WCHAR_T sizeof(wchar_t) */
|
/* BOOST_RE_SIZEOF_WCHAR_T sizeof(wchar_t) */
|
||||||
#undef BOOST_RE_SIZEOF_WCHAR_T
|
/* #define BOOST_RE_SIZEOF_WCHAR_T */
|
||||||
|
|
||||||
|
|
||||||
/* STL options: */
|
/* STL options: */
|
||||||
|
|
||||||
/* BOOST_RE_NO_EXCEPTION_H Define if you do not a compliant <exception>
|
/* BOOST_RE_NO_EXCEPTION_H Define if you do not a compliant <exception>
|
||||||
header file. */
|
header file. */
|
||||||
#undef BOOST_RE_NO_EXCEPTION_H
|
/* #define BOOST_RE_NO_EXCEPTION_H */
|
||||||
|
|
||||||
/* BOOST_RE_NO_ITERATOR_H Define if you do not have a version of <iterator>. */
|
/* BOOST_RE_NO_ITERATOR_H Define if you do not have a version of <iterator>. */
|
||||||
#undef BOOST_RE_NO_ITERATOR_H
|
/* #define BOOST_RE_NO_ITERATOR_H */
|
||||||
|
|
||||||
/* BOOST_RE_NO_MEMORY_H Define if <memory> does not fully comply with the
|
/* BOOST_RE_NO_MEMORY_H Define if <memory> does not fully comply with the
|
||||||
latest standard, and is not auto-recognised,
|
latest standard, and is not auto-recognised,
|
||||||
that means nested template classes
|
that means nested template classes
|
||||||
which hardly any compilers support at present. */
|
which hardly any compilers support at present. */
|
||||||
#undef BOOST_RE_NO_MEMORY_H
|
/* #define BOOST_RE_NO_MEMORY_H */
|
||||||
|
|
||||||
/* BOOST_RE_NO_LOCALE_H Define if there is no verion of the standard
|
/* BOOST_RE_NO_LOCALE_H Define if there is no verion of the standard
|
||||||
<locale> header available. */
|
<locale> header available. */
|
||||||
#undef BOOST_RE_NO_LOCALE_H
|
/* #define BOOST_RE_NO_LOCALE_H */
|
||||||
|
|
||||||
/* BOOST_RE_NO_STL Disables the use of any supporting STL code. */
|
/* BOOST_RE_NO_STL Disables the use of any supporting STL code. */
|
||||||
#undef BOOST_RE_NO_STL
|
/* #define BOOST_RE_NO_STL */
|
||||||
|
|
||||||
/* BOOST_RE_NO_NOT_EQUAL Disables the generation of operator!= if this
|
/* BOOST_RE_NO_NOT_EQUAL Disables the generation of operator!= if this
|
||||||
clashes with the STL version. */
|
clashes with the STL version. */
|
||||||
@ -150,39 +150,39 @@
|
|||||||
/* BOOST_RE_NO_STRING_DEF_ARGS Define if std::basic_string<charT> not allowed - in
|
/* BOOST_RE_NO_STRING_DEF_ARGS Define if std::basic_string<charT> not allowed - in
|
||||||
other words if the template is missing its required
|
other words if the template is missing its required
|
||||||
default arguments. */
|
default arguments. */
|
||||||
#undef BOOST_RE_NO_STRING_DEF_ARGS
|
/* #define BOOST_RE_NO_STRING_DEF_ARGS */
|
||||||
|
|
||||||
/* BOOST_RE_USE_ALGO If <algo.h> not <algorithm> is present */
|
/* BOOST_RE_USE_ALGO If <algo.h> not <algorithm> is present */
|
||||||
#undef BOOST_RE_USE_ALGO
|
/* #define BOOST_RE_USE_ALGO */
|
||||||
|
|
||||||
/* BOOST_RE_OLD_IOSTREAM If the new iostreamm classes are not available */
|
/* BOOST_RE_OLD_IOSTREAM If the new iostreamm classes are not available */
|
||||||
#undef BOOST_RE_OLD_IOSTREAM
|
/* #define BOOST_RE_OLD_IOSTREAM */
|
||||||
|
|
||||||
/* BOOST_RE_DISTANCE_T For std::distance:
|
/* BOOST_RE_DISTANCE_T For std::distance:
|
||||||
0 = NA
|
0 = NA
|
||||||
1 = std::distance(i, j, n)
|
1 = std::distance(i, j, n)
|
||||||
2 = n = std::distance(i, j) */
|
2 = n = std::distance(i, j) */
|
||||||
#undef BOOST_RE_DISTANCE_T_0
|
/* #define BOOST_RE_DISTANCE_T_0 */
|
||||||
#undef BOOST_RE_DISTANCE_T_1
|
/* #define BOOST_RE_DISTANCE_T_1 */
|
||||||
#undef BOOST_RE_DISTANCE_T_2
|
/* #define BOOST_RE_DISTANCE_T_2 */
|
||||||
|
|
||||||
/* BOOST_RE_ITERATOR_T Defines generic standard iterator type if available, use this as
|
/* BOOST_RE_ITERATOR_T Defines generic standard iterator type if available, use this as
|
||||||
a shortcut to define all the other iterator types.
|
a shortcut to define all the other iterator types.
|
||||||
1 = std::iterator<std::tag_type, T, D, T*, T&>
|
1 = std::iterator<std::tag_type, T, D, T*, T&>
|
||||||
2 = std::iterator<std::tag_type, T, D> */
|
2 = std::iterator<std::tag_type, T, D> */
|
||||||
#undef BOOST_RE_ITERATOR_T_0
|
/* #define BOOST_RE_ITERATOR_T_0 */
|
||||||
#undef BOOST_RE_ITERATOR_T_1
|
/* #define BOOST_RE_ITERATOR_T_1 */
|
||||||
#undef BOOST_RE_ITERATOR_T_2
|
/* #define BOOST_RE_ITERATOR_T_2 */
|
||||||
|
|
||||||
/* BOOST_RE_OI_T For output iterators:
|
/* BOOST_RE_OI_T For output iterators:
|
||||||
0 = NA
|
0 = NA
|
||||||
1 = std::iterator<std::output_iterator_tag, T, D, T*, T&>
|
1 = std::iterator<std::output_iterator_tag, T, D, T*, T&>
|
||||||
2 = std::iterator<std::output_iterator_tag, T, D>
|
2 = std::iterator<std::output_iterator_tag, T, D>
|
||||||
3 = std::output_iterator */
|
3 = std::output_iterator */
|
||||||
#undef BOOST_RE_OI_T_0
|
/* #define BOOST_RE_OI_T_0 */
|
||||||
#undef BOOST_RE_OI_T_1
|
/* #define BOOST_RE_OI_T_1 */
|
||||||
#undef BOOST_RE_OI_T_2
|
/* #define BOOST_RE_OI_T_2 */
|
||||||
#undef BOOST_RE_OI_T_3
|
/* #define BOOST_RE_OI_T_3 */
|
||||||
|
|
||||||
/* BOOST_RE_II_T For input iterators:
|
/* BOOST_RE_II_T For input iterators:
|
||||||
0 = NA
|
0 = NA
|
||||||
@ -190,11 +190,11 @@
|
|||||||
2 = std::iterator<std::input_iterator_tag, T, D>
|
2 = std::iterator<std::input_iterator_tag, T, D>
|
||||||
3 = std::input_iterator<T, D>
|
3 = std::input_iterator<T, D>
|
||||||
4 = std::input_iterator<T> */
|
4 = std::input_iterator<T> */
|
||||||
#undef BOOST_RE_II_T_0
|
/* #define BOOST_RE_II_T_0 */
|
||||||
#undef BOOST_RE_II_T_1
|
/* #define BOOST_RE_II_T_1 */
|
||||||
#undef BOOST_RE_II_T_2
|
/* #define BOOST_RE_II_T_2 */
|
||||||
#undef BOOST_RE_II_T_3
|
/* #define BOOST_RE_II_T_3 */
|
||||||
#undef BOOST_RE_II_T_4
|
/* #define BOOST_RE_II_T_4 */
|
||||||
|
|
||||||
|
|
||||||
/* BOOST_RE_FI_T For forward iterators:
|
/* BOOST_RE_FI_T For forward iterators:
|
||||||
@ -202,34 +202,34 @@
|
|||||||
1 = std::iterator<std::forward_iterator_tag, T, D, T*, T&>
|
1 = std::iterator<std::forward_iterator_tag, T, D, T*, T&>
|
||||||
2 = std::iterator<std::forward_iterator_tag, T, D>
|
2 = std::iterator<std::forward_iterator_tag, T, D>
|
||||||
3 = std::forward_iterator<T, D> */
|
3 = std::forward_iterator<T, D> */
|
||||||
#undef BOOST_RE_FI_T_0
|
/* #define BOOST_RE_FI_T_0 */
|
||||||
#undef BOOST_RE_FI_T_1
|
/* #define BOOST_RE_FI_T_1 */
|
||||||
#undef BOOST_RE_FI_T_2
|
/* #define BOOST_RE_FI_T_2 */
|
||||||
#undef BOOST_RE_FI_T_3
|
/* #define BOOST_RE_FI_T_3 */
|
||||||
|
|
||||||
/* BOOST_RE_BI_T For bidirectional iterators:
|
/* BOOST_RE_BI_T For bidirectional iterators:
|
||||||
0 = NA
|
0 = NA
|
||||||
1 = std::iterator<std::bidirectional_iterator_tag, T, D, T*, T&>
|
1 = std::iterator<std::bidirectional_iterator_tag, T, D, T*, T&>
|
||||||
2 = std::iterator<std::bidirectional_iterator_tag, T, D>
|
2 = std::iterator<std::bidirectional_iterator_tag, T, D>
|
||||||
3 = std::bidirectional_iterator<T, D> */
|
3 = std::bidirectional_iterator<T, D> */
|
||||||
#undef BOOST_RE_BI_T_0
|
/* #define BOOST_RE_BI_T_0 */
|
||||||
#undef BOOST_RE_BI_T_1
|
/* #define BOOST_RE_BI_T_1 */
|
||||||
#undef BOOST_RE_BI_T_2
|
/* #define BOOST_RE_BI_T_2 */
|
||||||
#undef BOOST_RE_BI_T_3
|
/* #define BOOST_RE_BI_T_3 */
|
||||||
|
|
||||||
/* BOOST_RE_RI_T For random access iterators:
|
/* BOOST_RE_RI_T For random access iterators:
|
||||||
0 = NA
|
0 = NA
|
||||||
1 = std::iterator<std::random_access_iterator_tag, T, D, T*, T&>
|
1 = std::iterator<std::random_access_iterator_tag, T, D, T*, T&>
|
||||||
2 = std::iterator<std::random_access_iterator_tag, T, D>
|
2 = std::iterator<std::random_access_iterator_tag, T, D>
|
||||||
3 = std::random_access_iterator<T, D> */
|
3 = std::random_access_iterator<T, D> */
|
||||||
#undef BOOST_RE_RI_T_0
|
/* #define BOOST_RE_RI_T_0 */
|
||||||
#undef BOOST_RE_RI_T_1
|
/* #define BOOST_RE_RI_T_1 */
|
||||||
#undef BOOST_RE_RI_T_2
|
/* #define BOOST_RE_RI_T_2 */
|
||||||
#undef BOOST_RE_RI_T_3
|
/* #define BOOST_RE_RI_T_3 */
|
||||||
|
|
||||||
/* BOOST_RE_NO_OI_ASSIGN If output iterators ostream_iterator<>, back_insert_iterator<> and
|
/* BOOST_RE_NO_OI_ASSIGN If output iterators ostream_iterator<>, back_insert_iterator<> and
|
||||||
front_insert_iterator<> do not have assignment operators */
|
front_insert_iterator<> do not have assignment operators */
|
||||||
#undef BOOST_RE_NO_OI_ASSIGN
|
/* #define BOOST_RE_NO_OI_ASSIGN */
|
||||||
|
|
||||||
|
|
||||||
#ifdef BOOST_RE_INT64_T_0
|
#ifdef BOOST_RE_INT64_T_0
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_raw_buffer.hpp
|
* FILE regex_raw_buffer.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Raw character buffer for regex code.
|
* DESCRIPTION: Raw character buffer for regex code.
|
||||||
* Note this is an internal header file included
|
* Note this is an internal header file included
|
||||||
* by regex.hpp, do not include on its own.
|
* by regex.hpp, do not include on its own.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_split.hpp
|
* FILE regex_split.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Implements regex_split and associated functions.
|
* DESCRIPTION: Implements regex_split and associated functions.
|
||||||
* Note this is an internal header file included
|
* Note this is an internal header file included
|
||||||
* by regex.hpp, do not include on its own.
|
* by regex.hpp, do not include on its own.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_stack.hpp
|
* FILE regex_stack.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Implements customised internal regex stacks.
|
* DESCRIPTION: Implements customised internal regex stacks.
|
||||||
* Note this is an internal header file included
|
* Note this is an internal header file included
|
||||||
* by regex.hpp, do not include on its own.
|
* by regex.hpp, do not include on its own.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex_synch.hpp
|
* FILE regex_synch.hpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Thread synchronisation for regex code.
|
* DESCRIPTION: Thread synchronisation for regex code.
|
||||||
* Note this is an internal header file included
|
* Note this is an internal header file included
|
||||||
* by regex.hpp, do not include on its own.
|
* by regex.hpp, do not include on its own.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex.h
|
* FILE regex.h
|
||||||
* VERSION 3.00
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Declares POSIX API functions
|
* DESCRIPTION: Declares POSIX API functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex.cpp
|
* FILE regex.cpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Declares boost::reg_expression<> and associated
|
* DESCRIPTION: Declares boost::reg_expression<> and associated
|
||||||
* functions and classes. This header is the main
|
* functions and classes. This header is the main
|
||||||
* entry point for the template regex code.
|
* entry point for the template regex code.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE regex.cpp
|
* FILE regex.cpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Declares regular expression traits classes.
|
* DESCRIPTION: Declares regular expression traits classes.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
|||||||
</td>
|
</td>
|
||||||
<td valign="top" width="50%"><h3 align="center">Regex++,
|
<td valign="top" width="50%"><h3 align="center">Regex++,
|
||||||
Index.</h3>
|
Index.</h3>
|
||||||
<p><i>(version 3.01, 18 April 2000)</i> </p>
|
<p><i>(version 3.02, 18 April 2000)</i> </p>
|
||||||
<pre><i>Copyright (c) 1998-2000
|
<pre><i>Copyright (c) 1998-2000
|
||||||
Dr John Maddock
|
Dr John Maddock
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<H3><IMG SRC="../../c++boost.gif" WIDTH=276 HEIGHT=86 ALT="C++ Boost"></H3></TD>
|
<H3><IMG SRC="../../c++boost.gif" WIDTH=276 HEIGHT=86 ALT="C++ Boost"></H3></TD>
|
||||||
<TD WIDTH="50%" VALIGN="TOP">
|
<TD WIDTH="50%" VALIGN="TOP">
|
||||||
<H3 ALIGN="CENTER">Regex++, Introduction.</H3>
|
<H3 ALIGN="CENTER">Regex++, Introduction.</H3>
|
||||||
<I><P>(version 3.01, 18 April 2000)</I> </P>
|
<I><P>(version 3.02, 18 April 2000)</I> </P>
|
||||||
<I><PRE>Copyright (c) 1998-2000
|
<I><PRE>Copyright (c) 1998-2000
|
||||||
Dr John Maddock
|
Dr John Maddock
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ std::string human_readable_card_number(<B>const</B> std::string s)
|
|||||||
<P>The <A HREF="posix_ref.htm#posix">POSIX API</A> functions: regcomp, regexec, regfree and regerror, are available in both narrow character and Unicode versions, and are provided for those who need compatibility with these API's. </P>
|
<P>The <A HREF="posix_ref.htm#posix">POSIX API</A> functions: regcomp, regexec, regfree and regerror, are available in both narrow character and Unicode versions, and are provided for those who need compatibility with these API's. </P>
|
||||||
<P>Finally, note that the library now has run-time <A HREF="appendix.htm#localisation">localization</A> support, and recognizes the full POSIX regular expression syntax - including advanced features like multi-character collating elements and equivalence classes - as well as providing compatibility with other regular expression libraries including GNU and BSD4 regex packages, and to a more limited extent perl 5. </P>
|
<P>Finally, note that the library now has run-time <A HREF="appendix.htm#localisation">localization</A> support, and recognizes the full POSIX regular expression syntax - including advanced features like multi-character collating elements and equivalence classes - as well as providing compatibility with other regular expression libraries including GNU and BSD4 regex packages, and to a more limited extent perl 5. </P>
|
||||||
<I><H3><A NAME="Installation"></A>Installation and Configuration Options</I> </H3>
|
<I><H3><A NAME="Installation"></A>Installation and Configuration Options</I> </H3>
|
||||||
<EM><P>[ </EM><I><STRONG>Important</I></STRONG><EM>: If you are upgrading from version 2.x of this library then you will find a number of changes to the documented header names and library interfaces, existing code should still compile unchanged however - see </EM><A HREF="appendix.htm#upgrade"><FONT COLOR="#0000ff"><EM>Note for Upgraders</FONT></EM></A><EM>. ]</P>
|
<EM><P>[ </EM><I><STRONG>Important</I></STRONG><EM>: If you are upgrading from version 3.02x of this library then you will find a number of changes to the documented header names and library interfaces, existing code should still compile unchanged however - see </EM><A HREF="appendix.htm#upgrade"><FONT COLOR="#0000ff"><EM>Note for Upgraders</FONT></EM></A><EM>. ]</P>
|
||||||
</EM><P>When you extract the library from its zip file, you must preserve its internal directory structure (for example by using the -d option when extracting). If you didn't do that when extracting, then you'd better stop reading this, delete the files you just extracted, and try again! </P>
|
</EM><P>When you extract the library from its zip file, you must preserve its internal directory structure (for example by using the -d option when extracting). If you didn't do that when extracting, then you'd better stop reading this, delete the files you just extracted, and try again! </P>
|
||||||
<P>Currently the library will automatically detect and configure itself for Borland, Microsoft and gcc compilers only. The library will also detect the HP, SGI, Rogue Wave, or Microsoft STL implementations. If the STL type is detected, then the library will attempt to extract suitable compiler configuration options from the STL used. Otherwise the library will assume that the compiler is fully compliant with the C++ standard: unless various options are defined to depreciate features not implemented by your compiler. These options are documented in <boost/re_detail/regex_options.hpp>, if you want to add permanent configuration options add them to <boost/re_detail/regex_options.hpp> which is provided for this purpose - this will allow you to keep your configuration options between library versions by retaining <boost/re_detail/regex_options.hpp>. </P>
|
<P>Currently the library will automatically detect and configure itself for Borland, Microsoft and gcc compilers only. The library will also detect the HP, SGI, Rogue Wave, or Microsoft STL implementations. If the STL type is detected, then the library will attempt to extract suitable compiler configuration options from the STL used. Otherwise the library will assume that the compiler is fully compliant with the C++ standard: unless various options are defined to depreciate features not implemented by your compiler. These options are documented in <boost/re_detail/regex_options.hpp>, if you want to add permanent configuration options add them to <boost/re_detail/regex_options.hpp> which is provided for this purpose - this will allow you to keep your configuration options between library versions by retaining <boost/re_detail/regex_options.hpp>. </P>
|
||||||
<P>The library will encase all code inside namespace boost. </P>
|
<P>The library will encase all code inside namespace boost. </P>
|
||||||
|
@ -345,4 +345,3 @@ bcb5\bcb5re300l.lib : bcb5\bcb5re300l\c_regex_traits.obj bcb5\bcb5re300l\c_regex
|
|||||||
|
|
|
|
||||||
implib -c bcb5\bcb5re300l.lib bcb5\bcb5re300l.dll
|
implib -c bcb5\bcb5re300l.lib bcb5\bcb5re300l.dll
|
||||||
|
|
||||||
|
|
||||||
|
63
lib/gcc.mak
63
lib/gcc.mak
@ -9,17 +9,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# Add additional compiler options here:
|
# compiler options for release build:
|
||||||
#
|
#
|
||||||
XCFLAGS=
|
C1=-c -O2 -I../../../
|
||||||
#
|
#
|
||||||
# add additional linker flags here:
|
# compiler options for debug build:
|
||||||
#
|
#
|
||||||
XLFLAGS=
|
C2=-c -g -I../../../
|
||||||
#
|
#
|
||||||
# add additional static-library creation flags here:
|
# compiler options for link:
|
||||||
#
|
LINK=
|
||||||
XSFLAGS=
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -42,37 +41,37 @@ install : all
|
|||||||
#
|
#
|
||||||
########################################################
|
########################################################
|
||||||
gcc/regex++/c_regex_traits.o: ../src/c_regex_traits.cpp $(ALL_HEADER)
|
gcc/regex++/c_regex_traits.o: ../src/c_regex_traits.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++/c_regex_traits.o -c -O2 -I../../../ $(XCFLAGS) ../src/c_regex_traits.cpp
|
g++ -o gcc/regex++/c_regex_traits.o $(C1) $(XCFLAGS) ../src/c_regex_traits.cpp
|
||||||
|
|
||||||
gcc/regex++/c_regex_traits_common.o: ../src/c_regex_traits_common.cpp $(ALL_HEADER)
|
gcc/regex++/c_regex_traits_common.o: ../src/c_regex_traits_common.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++/c_regex_traits_common.o -c -O2 -I../../../ $(XCFLAGS) ../src/c_regex_traits_common.cpp
|
g++ -o gcc/regex++/c_regex_traits_common.o $(C1) $(XCFLAGS) ../src/c_regex_traits_common.cpp
|
||||||
|
|
||||||
gcc/regex++/cpp_regex_traits.o: ../src/cpp_regex_traits.cpp $(ALL_HEADER)
|
gcc/regex++/cpp_regex_traits.o: ../src/cpp_regex_traits.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++/cpp_regex_traits.o -c -O2 -I../../../ $(XCFLAGS) ../src/cpp_regex_traits.cpp
|
g++ -o gcc/regex++/cpp_regex_traits.o $(C1) $(XCFLAGS) ../src/cpp_regex_traits.cpp
|
||||||
|
|
||||||
gcc/regex++/cregex.o: ../src/cregex.cpp $(ALL_HEADER)
|
gcc/regex++/cregex.o: ../src/cregex.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++/cregex.o -c -O2 -I../../../ $(XCFLAGS) ../src/cregex.cpp
|
g++ -o gcc/regex++/cregex.o $(C1) $(XCFLAGS) ../src/cregex.cpp
|
||||||
|
|
||||||
gcc/regex++/fileiter.o: ../src/fileiter.cpp $(ALL_HEADER)
|
gcc/regex++/fileiter.o: ../src/fileiter.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++/fileiter.o -c -O2 -I../../../ $(XCFLAGS) ../src/fileiter.cpp
|
g++ -o gcc/regex++/fileiter.o $(C1) $(XCFLAGS) ../src/fileiter.cpp
|
||||||
|
|
||||||
gcc/regex++/posix_api.o: ../src/posix_api.cpp $(ALL_HEADER)
|
gcc/regex++/posix_api.o: ../src/posix_api.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++/posix_api.o -c -O2 -I../../../ $(XCFLAGS) ../src/posix_api.cpp
|
g++ -o gcc/regex++/posix_api.o $(C1) $(XCFLAGS) ../src/posix_api.cpp
|
||||||
|
|
||||||
gcc/regex++/regex.o: ../src/regex.cpp $(ALL_HEADER)
|
gcc/regex++/regex.o: ../src/regex.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++/regex.o -c -O2 -I../../../ $(XCFLAGS) ../src/regex.cpp
|
g++ -o gcc/regex++/regex.o $(C1) $(XCFLAGS) ../src/regex.cpp
|
||||||
|
|
||||||
gcc/regex++/regex_debug.o: ../src/regex_debug.cpp $(ALL_HEADER)
|
gcc/regex++/regex_debug.o: ../src/regex_debug.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++/regex_debug.o -c -O2 -I../../../ $(XCFLAGS) ../src/regex_debug.cpp
|
g++ -o gcc/regex++/regex_debug.o $(C1) $(XCFLAGS) ../src/regex_debug.cpp
|
||||||
|
|
||||||
gcc/regex++/regex_synch.o: ../src/regex_synch.cpp $(ALL_HEADER)
|
gcc/regex++/regex_synch.o: ../src/regex_synch.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++/regex_synch.o -c -O2 -I../../../ $(XCFLAGS) ../src/regex_synch.cpp
|
g++ -o gcc/regex++/regex_synch.o $(C1) $(XCFLAGS) ../src/regex_synch.cpp
|
||||||
|
|
||||||
gcc/regex++/w32_regex_traits.o: ../src/w32_regex_traits.cpp $(ALL_HEADER)
|
gcc/regex++/w32_regex_traits.o: ../src/w32_regex_traits.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++/w32_regex_traits.o -c -O2 -I../../../ $(XCFLAGS) ../src/w32_regex_traits.cpp
|
g++ -o gcc/regex++/w32_regex_traits.o $(C1) $(XCFLAGS) ../src/w32_regex_traits.cpp
|
||||||
|
|
||||||
gcc/regex++/wide_posix_api.o: ../src/wide_posix_api.cpp $(ALL_HEADER)
|
gcc/regex++/wide_posix_api.o: ../src/wide_posix_api.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++/wide_posix_api.o -c -O2 -I../../../ $(XCFLAGS) ../src/wide_posix_api.cpp
|
g++ -o gcc/regex++/wide_posix_api.o $(C1) $(XCFLAGS) ../src/wide_posix_api.cpp
|
||||||
|
|
||||||
gcc/regex++ :
|
gcc/regex++ :
|
||||||
mkdir -p gcc/regex++
|
mkdir -p gcc/regex++
|
||||||
@ -81,7 +80,7 @@ regex++_clean :
|
|||||||
rm -f gcc/regex++/*.o
|
rm -f gcc/regex++/*.o
|
||||||
|
|
||||||
./gcc/libregex++.a : gcc/regex++/c_regex_traits.o gcc/regex++/c_regex_traits_common.o gcc/regex++/cpp_regex_traits.o gcc/regex++/cregex.o gcc/regex++/fileiter.o gcc/regex++/posix_api.o gcc/regex++/regex.o gcc/regex++/regex_debug.o gcc/regex++/regex_synch.o gcc/regex++/w32_regex_traits.o gcc/regex++/wide_posix_api.o
|
./gcc/libregex++.a : gcc/regex++/c_regex_traits.o gcc/regex++/c_regex_traits_common.o gcc/regex++/cpp_regex_traits.o gcc/regex++/cregex.o gcc/regex++/fileiter.o gcc/regex++/posix_api.o gcc/regex++/regex.o gcc/regex++/regex_debug.o gcc/regex++/regex_synch.o gcc/regex++/w32_regex_traits.o gcc/regex++/wide_posix_api.o
|
||||||
ar -r $(XSFLAGS) gcc/libregex++.a gcc/regex++/c_regex_traits.o gcc/regex++/c_regex_traits_common.o gcc/regex++/cpp_regex_traits.o gcc/regex++/cregex.o gcc/regex++/fileiter.o gcc/regex++/posix_api.o gcc/regex++/regex.o gcc/regex++/regex_debug.o gcc/regex++/regex_synch.o gcc/regex++/w32_regex_traits.o gcc/regex++/wide_posix_api.o
|
ar -r $(LINK) gcc/libregex++.a gcc/regex++/c_regex_traits.o gcc/regex++/c_regex_traits_common.o gcc/regex++/cpp_regex_traits.o gcc/regex++/cregex.o gcc/regex++/fileiter.o gcc/regex++/posix_api.o gcc/regex++/regex.o gcc/regex++/regex_debug.o gcc/regex++/regex_synch.o gcc/regex++/w32_regex_traits.o gcc/regex++/wide_posix_api.o
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
#
|
#
|
||||||
@ -89,37 +88,37 @@ regex++_clean :
|
|||||||
#
|
#
|
||||||
########################################################
|
########################################################
|
||||||
gcc/regex++debug/c_regex_traits.o: ../src/c_regex_traits.cpp $(ALL_HEADER)
|
gcc/regex++debug/c_regex_traits.o: ../src/c_regex_traits.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++debug/c_regex_traits.o -c -I../../../ -g $(XCFLAGS) ../src/c_regex_traits.cpp
|
g++ -o gcc/regex++debug/c_regex_traits.o $(C2) $(XCFLAGS) ../src/c_regex_traits.cpp
|
||||||
|
|
||||||
gcc/regex++debug/c_regex_traits_common.o: ../src/c_regex_traits_common.cpp $(ALL_HEADER)
|
gcc/regex++debug/c_regex_traits_common.o: ../src/c_regex_traits_common.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++debug/c_regex_traits_common.o -c -I../../../ -g $(XCFLAGS) ../src/c_regex_traits_common.cpp
|
g++ -o gcc/regex++debug/c_regex_traits_common.o $(C2) $(XCFLAGS) ../src/c_regex_traits_common.cpp
|
||||||
|
|
||||||
gcc/regex++debug/cpp_regex_traits.o: ../src/cpp_regex_traits.cpp $(ALL_HEADER)
|
gcc/regex++debug/cpp_regex_traits.o: ../src/cpp_regex_traits.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++debug/cpp_regex_traits.o -c -I../../../ -g $(XCFLAGS) ../src/cpp_regex_traits.cpp
|
g++ -o gcc/regex++debug/cpp_regex_traits.o $(C2) $(XCFLAGS) ../src/cpp_regex_traits.cpp
|
||||||
|
|
||||||
gcc/regex++debug/cregex.o: ../src/cregex.cpp $(ALL_HEADER)
|
gcc/regex++debug/cregex.o: ../src/cregex.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++debug/cregex.o -c -I../../../ -g $(XCFLAGS) ../src/cregex.cpp
|
g++ -o gcc/regex++debug/cregex.o $(C2) $(XCFLAGS) ../src/cregex.cpp
|
||||||
|
|
||||||
gcc/regex++debug/fileiter.o: ../src/fileiter.cpp $(ALL_HEADER)
|
gcc/regex++debug/fileiter.o: ../src/fileiter.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++debug/fileiter.o -c -I../../../ -g $(XCFLAGS) ../src/fileiter.cpp
|
g++ -o gcc/regex++debug/fileiter.o $(C2) $(XCFLAGS) ../src/fileiter.cpp
|
||||||
|
|
||||||
gcc/regex++debug/posix_api.o: ../src/posix_api.cpp $(ALL_HEADER)
|
gcc/regex++debug/posix_api.o: ../src/posix_api.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++debug/posix_api.o -c -I../../../ -g $(XCFLAGS) ../src/posix_api.cpp
|
g++ -o gcc/regex++debug/posix_api.o $(C2) $(XCFLAGS) ../src/posix_api.cpp
|
||||||
|
|
||||||
gcc/regex++debug/regex.o: ../src/regex.cpp $(ALL_HEADER)
|
gcc/regex++debug/regex.o: ../src/regex.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++debug/regex.o -c -I../../../ -g $(XCFLAGS) ../src/regex.cpp
|
g++ -o gcc/regex++debug/regex.o $(C2) $(XCFLAGS) ../src/regex.cpp
|
||||||
|
|
||||||
gcc/regex++debug/regex_debug.o: ../src/regex_debug.cpp $(ALL_HEADER)
|
gcc/regex++debug/regex_debug.o: ../src/regex_debug.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++debug/regex_debug.o -c -I../../../ -g $(XCFLAGS) ../src/regex_debug.cpp
|
g++ -o gcc/regex++debug/regex_debug.o $(C2) $(XCFLAGS) ../src/regex_debug.cpp
|
||||||
|
|
||||||
gcc/regex++debug/regex_synch.o: ../src/regex_synch.cpp $(ALL_HEADER)
|
gcc/regex++debug/regex_synch.o: ../src/regex_synch.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++debug/regex_synch.o -c -I../../../ -g $(XCFLAGS) ../src/regex_synch.cpp
|
g++ -o gcc/regex++debug/regex_synch.o $(C2) $(XCFLAGS) ../src/regex_synch.cpp
|
||||||
|
|
||||||
gcc/regex++debug/w32_regex_traits.o: ../src/w32_regex_traits.cpp $(ALL_HEADER)
|
gcc/regex++debug/w32_regex_traits.o: ../src/w32_regex_traits.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++debug/w32_regex_traits.o -c -I../../../ -g $(XCFLAGS) ../src/w32_regex_traits.cpp
|
g++ -o gcc/regex++debug/w32_regex_traits.o $(C2) $(XCFLAGS) ../src/w32_regex_traits.cpp
|
||||||
|
|
||||||
gcc/regex++debug/wide_posix_api.o: ../src/wide_posix_api.cpp $(ALL_HEADER)
|
gcc/regex++debug/wide_posix_api.o: ../src/wide_posix_api.cpp $(ALL_HEADER)
|
||||||
g++ -o gcc/regex++debug/wide_posix_api.o -c -I../../../ -g $(XCFLAGS) ../src/wide_posix_api.cpp
|
g++ -o gcc/regex++debug/wide_posix_api.o $(C2) $(XCFLAGS) ../src/wide_posix_api.cpp
|
||||||
|
|
||||||
gcc/regex++debug :
|
gcc/regex++debug :
|
||||||
mkdir -p gcc/regex++debug
|
mkdir -p gcc/regex++debug
|
||||||
@ -128,5 +127,7 @@ regex++debug_clean :
|
|||||||
rm -f gcc/regex++debug/*.o
|
rm -f gcc/regex++debug/*.o
|
||||||
|
|
||||||
./gcc/libregex++debug.a : gcc/regex++debug/c_regex_traits.o gcc/regex++debug/c_regex_traits_common.o gcc/regex++debug/cpp_regex_traits.o gcc/regex++debug/cregex.o gcc/regex++debug/fileiter.o gcc/regex++debug/posix_api.o gcc/regex++debug/regex.o gcc/regex++debug/regex_debug.o gcc/regex++debug/regex_synch.o gcc/regex++debug/w32_regex_traits.o gcc/regex++debug/wide_posix_api.o
|
./gcc/libregex++debug.a : gcc/regex++debug/c_regex_traits.o gcc/regex++debug/c_regex_traits_common.o gcc/regex++debug/cpp_regex_traits.o gcc/regex++debug/cregex.o gcc/regex++debug/fileiter.o gcc/regex++debug/posix_api.o gcc/regex++debug/regex.o gcc/regex++debug/regex_debug.o gcc/regex++debug/regex_synch.o gcc/regex++debug/w32_regex_traits.o gcc/regex++debug/wide_posix_api.o
|
||||||
ar -r $(XSFLAGS) gcc/libregex++debug.a gcc/regex++debug/c_regex_traits.o gcc/regex++debug/c_regex_traits_common.o gcc/regex++debug/cpp_regex_traits.o gcc/regex++debug/cregex.o gcc/regex++debug/fileiter.o gcc/regex++debug/posix_api.o gcc/regex++debug/regex.o gcc/regex++debug/regex_debug.o gcc/regex++debug/regex_synch.o gcc/regex++debug/w32_regex_traits.o gcc/regex++debug/wide_posix_api.o
|
ar -r $(LINK) gcc/libregex++debug.a gcc/regex++debug/c_regex_traits.o gcc/regex++debug/c_regex_traits_common.o gcc/regex++debug/cpp_regex_traits.o gcc/regex++debug/cregex.o gcc/regex++debug/fileiter.o gcc/regex++debug/posix_api.o gcc/regex++debug/regex.o gcc/regex++debug/regex_debug.o gcc/regex++debug/regex_synch.o gcc/regex++debug/w32_regex_traits.o gcc/regex++debug/wide_posix_api.o
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
97
makefile_gen
97
makefile_gen
@ -223,9 +223,15 @@ EOF
|
|||||||
#
|
#
|
||||||
###############################################################
|
###############################################################
|
||||||
|
|
||||||
|
gcc_shared="no"
|
||||||
|
|
||||||
function gcc_gen_lib()
|
function gcc_gen_lib()
|
||||||
{
|
{
|
||||||
|
if test "$gcc_shared" == "yes"; then
|
||||||
|
all_dep="$all_dep $subdir $subdir/$libname ./$subdir/lib$libname.so"
|
||||||
|
else
|
||||||
all_dep="$all_dep $subdir $subdir/$libname ./$subdir/lib$libname.a"
|
all_dep="$all_dep $subdir $subdir/$libname ./$subdir/lib$libname.a"
|
||||||
|
fi
|
||||||
#
|
#
|
||||||
# set up section comments:
|
# set up section comments:
|
||||||
cat >> $tout << EOF
|
cat >> $tout << EOF
|
||||||
@ -260,8 +266,13 @@ EOF
|
|||||||
echo "" >> $tout
|
echo "" >> $tout
|
||||||
#
|
#
|
||||||
# now for the main target for this library:
|
# now for the main target for this library:
|
||||||
|
if test "$gcc_shared" == "yes"; then
|
||||||
|
echo ./$subdir/lib$libname.so : $all_obj >> $tout
|
||||||
|
echo " \$(LINKER) \$(LINK) -o $subdir/lib$libname.so $all_obj" >> $tout
|
||||||
|
else
|
||||||
echo ./$subdir/lib$libname.a : $all_obj >> $tout
|
echo ./$subdir/lib$libname.a : $all_obj >> $tout
|
||||||
echo " ar -r \$(XSFLAGS) $subdir/lib$libname.a $all_obj" >> $tout
|
echo " ar -r \$(LINK) $subdir/lib$libname.a $all_obj" >> $tout
|
||||||
|
fi
|
||||||
echo "" >> $tout
|
echo "" >> $tout
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -278,10 +289,10 @@ function gcc_gen()
|
|||||||
echo > $iout
|
echo > $iout
|
||||||
|
|
||||||
libname="regex++"
|
libname="regex++"
|
||||||
opts="-c -O2 -I../../../"
|
opts="\$(C1)"
|
||||||
gcc_gen_lib
|
gcc_gen_lib
|
||||||
libname="regex++debug"
|
libname="regex++debug"
|
||||||
opts="-c -I../../../ -g"
|
opts="\$(C2)"
|
||||||
gcc_gen_lib
|
gcc_gen_lib
|
||||||
|
|
||||||
|
|
||||||
@ -297,17 +308,80 @@ function gcc_gen()
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# Add additional compiler options here:
|
# compiler options for release build:
|
||||||
#
|
#
|
||||||
XCFLAGS=
|
C1=-c -O2 -I../../../
|
||||||
#
|
#
|
||||||
# add additional linker flags here:
|
# compiler options for debug build:
|
||||||
#
|
#
|
||||||
XLFLAGS=
|
C2=-c -g -I../../../
|
||||||
#
|
#
|
||||||
# add additional static-library creation flags here:
|
# compiler options for link:
|
||||||
|
LINK=
|
||||||
|
|
||||||
|
|
||||||
|
EOF
|
||||||
|
echo "" >> $out
|
||||||
|
echo "ALL_HEADER=$header" >> $out
|
||||||
|
echo "" >> $out
|
||||||
|
echo "all : $subdir $all_dep" >> $out
|
||||||
|
echo >> $out
|
||||||
|
echo "$subdir :" >> $out
|
||||||
|
echo " mkdir -p $subdir" >> $out
|
||||||
|
echo >> $out
|
||||||
|
echo "clean : $all_clean" >> $out
|
||||||
|
echo >> $out
|
||||||
|
echo "install : all" >> $out
|
||||||
|
cat $iout >> $out
|
||||||
|
echo >> $out
|
||||||
|
cat $tout >> $out
|
||||||
|
}
|
||||||
|
|
||||||
|
function gcc_gen_shared()
|
||||||
|
{
|
||||||
|
out="lib/gcc-shared.mak"
|
||||||
|
tout="temp"
|
||||||
|
iout="temp_install"
|
||||||
|
subdir="gcc"
|
||||||
|
all_dep=""
|
||||||
|
all_clean=""
|
||||||
|
echo > $out
|
||||||
|
echo > $tout
|
||||||
|
echo > $iout
|
||||||
|
|
||||||
|
libname="regex++"
|
||||||
|
opts="\$(C1)"
|
||||||
|
gcc_gen_lib
|
||||||
|
libname="regex++debug"
|
||||||
|
opts="\$(C2)"
|
||||||
|
gcc_gen_lib
|
||||||
|
|
||||||
|
|
||||||
|
cat > $out << EOF
|
||||||
#
|
#
|
||||||
XSFLAGS=
|
# auto generated makefile for gcc compiler
|
||||||
|
#
|
||||||
|
# usage:
|
||||||
|
# make
|
||||||
|
# brings libraries up to date
|
||||||
|
# make clean
|
||||||
|
# deletes temporary object files (but not archives).
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# compiler options for release build:
|
||||||
|
#
|
||||||
|
C1=-c -O2 -I../../../ -fPIC
|
||||||
|
#
|
||||||
|
# compiler options for debug build:
|
||||||
|
#
|
||||||
|
C2=-c -g -I../../../ -fPIC
|
||||||
|
#
|
||||||
|
# compiler options for link:
|
||||||
|
LINK=-shared
|
||||||
|
#
|
||||||
|
# Linker to use:
|
||||||
|
LINKER=ld
|
||||||
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
@ -577,6 +651,8 @@ vc6_gen
|
|||||||
#
|
#
|
||||||
# generate gcc makefile:
|
# generate gcc makefile:
|
||||||
gcc_gen
|
gcc_gen
|
||||||
|
gcc_shared="yes"
|
||||||
|
gcc_gen_shared
|
||||||
#
|
#
|
||||||
# generate C++ Builder 4 files:
|
# generate C++ Builder 4 files:
|
||||||
out="lib/bcb4.mak"
|
out="lib/bcb4.mak"
|
||||||
@ -610,3 +686,6 @@ rm -f $tout $iout
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<H3> Regex++, POSIX API Reference.</H3>
|
<H3> Regex++, POSIX API Reference.</H3>
|
||||||
</CENTER>
|
</CENTER>
|
||||||
<CENTER>
|
<CENTER>
|
||||||
<I>(version 3.01, 18 April 2000)</I>
|
<I>(version 3.02, 18 April 2000)</I>
|
||||||
</CENTER>
|
</CENTER>
|
||||||
<PRE><I>Copyright (c) 1998-2000
|
<PRE><I>Copyright (c) 1998-2000
|
||||||
Dr John Maddock
|
Dr John Maddock
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE c_regex_traits.cpp
|
* FILE c_regex_traits.cpp
|
||||||
* VERSION 3.01
|
* VERSION 3.02
|
||||||
* DESCRIPTION: Implements the c_regex_traits<charT> traits class
|
* DESCRIPTION: Implements the c_regex_traits<charT> traits class
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -37,14 +37,6 @@
|
|||||||
#include <nl_types.h>
|
#include <nl_types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
|
||||||
namespace std{
|
|
||||||
using ::setlocale;
|
|
||||||
using ::wcstombs;
|
|
||||||
using ::mbstowcs;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace{
|
namespace{
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE: c_regex_traits_common.cpp
|
* FILE: c_regex_traits_common.cpp
|
||||||
* VERSION: 3.00
|
* VERSION: 3.02
|
||||||
* DESCRIPTION: Implements common code and data for the
|
* DESCRIPTION: Implements common code and data for the
|
||||||
* c_regex_traits<charT> traits classes.
|
* c_regex_traits<charT> traits classes.
|
||||||
*/
|
*/
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE: c_regex_traits.cpp
|
* FILE: c_regex_traits.cpp
|
||||||
* VERSION: 3.00
|
* VERSION: 3.02
|
||||||
* DESCRIPTION: Implements the cpp_regex_traits<charT> traits class
|
* DESCRIPTION: Implements the cpp_regex_traits<charT> traits class
|
||||||
*/
|
*/
|
||||||
#include <clocale>
|
#include <clocale>
|
||||||
@ -33,11 +33,6 @@
|
|||||||
|
|
||||||
# ifdef BOOST_MSVC
|
# ifdef BOOST_MSVC
|
||||||
# pragma warning(disable:4786)
|
# pragma warning(disable:4786)
|
||||||
namespace std
|
|
||||||
{
|
|
||||||
using ::abs;
|
|
||||||
using ::mbstate_t;
|
|
||||||
}
|
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
namespace{
|
namespace{
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE: cregex.cpp
|
* FILE: cregex.cpp
|
||||||
* VERSION: 3.00
|
* VERSION: 3.02
|
||||||
* DESCRIPTION: Implements high level class boost::RexEx
|
* DESCRIPTION: Implements high level class boost::RexEx
|
||||||
*/
|
*/
|
||||||
#include <boost/cregex.hpp>
|
#include <boost/cregex.hpp>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE: fileiter.cpp
|
* FILE: fileiter.cpp
|
||||||
* VERSION: 3.00
|
* VERSION: 3.02
|
||||||
* DESCRIPTION: Implements file io primitives + directory searching for class boost::RegEx.
|
* 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.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE: posix_api.cpp
|
* FILE: posix_api.cpp
|
||||||
* VERSION: 3.00
|
* VERSION: 3.02
|
||||||
* DESCRIPTION: Implements the Posix API wrappers.
|
* DESCRIPTION: Implements the Posix API wrappers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE: primary_transform.hpp
|
* FILE: primary_transform.hpp
|
||||||
* VERSION: 3.00
|
* VERSION: 3.02
|
||||||
* DESCRIPTION: Heuristically determines the sort string format in use
|
* DESCRIPTION: Heuristically determines the sort string format in use
|
||||||
* by the current locale.
|
* by the current locale.
|
||||||
*/
|
*/
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE: regex.cpp
|
* FILE: regex.cpp
|
||||||
* VERSION: 3.00
|
* VERSION: 3.02
|
||||||
* DESCRIPTION: Misc boost::regbase member funnctions.
|
* DESCRIPTION: Misc boost::regbase member funnctions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE: regex_debug.cpp
|
* FILE: regex_debug.cpp
|
||||||
* VERSION: 3.00
|
* VERSION: 3.02
|
||||||
* DESCRIPTION: Misc. debugging helpers.
|
* DESCRIPTION: Misc. debugging helpers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -30,7 +30,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_RE_DEBUG
|
#ifdef BOOST_RE_DEBUG
|
||||||
|
#ifndef BOOST_RE_OLD_IOSTREAM
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
#else
|
||||||
|
#include <ostream.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost { namespace re_detail {
|
namespace boost { namespace re_detail {
|
||||||
std::ostream& operator<<(std::ostream& s, syntax_element_type x)
|
std::ostream& operator<<(std::ostream& s, syntax_element_type x)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE: regex_synch.cpp
|
* FILE: regex_synch.cpp
|
||||||
* VERSION: 3.00
|
* VERSION: 3.02
|
||||||
* DESCRIPTION: Thread synch helper functions, for regular
|
* DESCRIPTION: Thread synch helper functions, for regular
|
||||||
* expression library.
|
* expression library.
|
||||||
*/
|
*/
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE: w32_regex_traits.cpp
|
* FILE: w32_regex_traits.cpp
|
||||||
* VERSION: 3.00
|
* VERSION: 3.02
|
||||||
* DESCRIPTION: Implements the w32_regex_traits<charT> traits class
|
* DESCRIPTION: Implements the w32_regex_traits<charT> traits class
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/*
|
/*
|
||||||
* LOCATION: see http://www.boost.org for most recent version.
|
* LOCATION: see http://www.boost.org for most recent version.
|
||||||
* FILE: wide_posix_api.cpp
|
* FILE: wide_posix_api.cpp
|
||||||
* VERSION: 3.00
|
* VERSION: 3.02
|
||||||
* DESCRIPTION: Implements the wide character POSIX API wrappers.
|
* DESCRIPTION: Implements the wide character POSIX API wrappers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<H3> Regex++, Regular Expression Syntax.</H3>
|
<H3> Regex++, Regular Expression Syntax.</H3>
|
||||||
</CENTER>
|
</CENTER>
|
||||||
<CENTER>
|
<CENTER>
|
||||||
<I>(version 3.01, 18 April 2000)</I>
|
<I>(version 3.02, 18 April 2000)</I>
|
||||||
</CENTER>
|
</CENTER>
|
||||||
<PRE><I>Copyright (c) 1998-2000
|
<PRE><I>Copyright (c) 1998-2000
|
||||||
Dr John Maddock
|
Dr John Maddock
|
||||||
|
@ -21,7 +21,7 @@ content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
|||||||
</td>
|
</td>
|
||||||
<td valign="top" width="50%"><h2 align="center">Regex++,
|
<td valign="top" width="50%"><h2 align="center">Regex++,
|
||||||
Template Class and Algorithm Reference.</h2>
|
Template Class and Algorithm Reference.</h2>
|
||||||
<p><i>(version 3.01, 18 April 2000)</i> </p>
|
<p><i>(version 3.02, 18 April 2000)</i> </p>
|
||||||
<pre><i>Copyright (c) 1998-9
|
<pre><i>Copyright (c) 1998-9
|
||||||
Dr John Maddock
|
Dr John Maddock
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
HEIGHT="86" ALT="C++ Boost"> </H3>
|
HEIGHT="86" ALT="C++ Boost"> </H3>
|
||||||
</TD>
|
</TD>
|
||||||
<TD VALIGN="top" WIDTH="50%"><H3 ALIGN="center">Regex++, Traits Class
|
<TD VALIGN="top" WIDTH="50%"><H3 ALIGN="center">Regex++, Traits Class
|
||||||
Reference. <I>(version 3.01, 18 April 2000)</I> </H3>
|
Reference. <I>(version 3.02, 18 April 2000)</I> </H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
<I>Copyright (c) 1998-2000
|
<I>Copyright (c) 1998-2000
|
||||||
Dr John Maddock
|
Dr John Maddock
|
||||||
|
Reference in New Issue
Block a user