diff --git a/doc/headers.qbk b/doc/headers.qbk index d7b8e7cc..23500a52 100644 --- a/doc/headers.qbk +++ b/doc/headers.qbk @@ -10,8 +10,7 @@ There are two main headers used by this library: `` provides full access to the main template library, while `` -provides access to the (deprecated) high level class RegEx, and the -POSIX API functions. +provides access to the POSIX API functions. There is also a header containing only forward declarations `` for use when an interface is dependent upon diff --git a/doc/html/boost_regex/background.html b/doc/html/boost_regex/background.html index f212a133..033a8755 100644 --- a/doc/html/boost_regex/background.html +++ b/doc/html/boost_regex/background.html @@ -8,6 +8,7 @@ + @@ -59,19 +60,15 @@ leftmost-longest searches (platform = linux, compiler = GNU C++ version 6.3.0)
Standards Conformance
-
Redistributables
Acknowledgements
History
-
- - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/background/acknowledgements.html b/doc/html/boost_regex/background/acknowledgements.html index e51adbba..72232ccf 100644 --- a/doc/html/boost_regex/background/acknowledgements.html +++ b/doc/html/boost_regex/background/acknowledgements.html @@ -6,8 +6,9 @@ - + + @@ -20,7 +21,7 @@

-PrevUpHomeNext +PrevUpHomeNext

@@ -71,17 +72,14 @@ any comments or spot any bugs, please get in touch.

- - - -
+

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_regex/background/examples.html b/doc/html/boost_regex/background/examples.html index 4847ac5d..de83fd11 100644 --- a/doc/html/boost_regex/background/examples.html +++ b/doc/html/boost_regex/background/examples.html @@ -8,6 +8,7 @@ + @@ -258,14 +259,11 @@ : regex_split example: spit out linked URL's.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/faq.html b/doc/html/boost_regex/background/faq.html index f049b69c..f87f4cac 100644 --- a/doc/html/boost_regex/background/faq.html +++ b/doc/html/boost_regex/background/faq.html @@ -8,6 +8,7 @@ + @@ -139,14 +140,11 @@ functions.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/futher.html b/doc/html/boost_regex/background/futher.html index 282bbca9..cac7f7c4 100644 --- a/doc/html/boost_regex/background/futher.html +++ b/doc/html/boost_regex/background/futher.html @@ -8,6 +8,7 @@ + @@ -60,14 +61,11 @@ respective web sites.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/headers.html b/doc/html/boost_regex/background/headers.html index 8eccac92..fd0945bd 100644 --- a/doc/html/boost_regex/background/headers.html +++ b/doc/html/boost_regex/background/headers.html @@ -8,6 +8,7 @@ + @@ -29,8 +30,7 @@

There are two main headers used by this library: <boost/regex.hpp> provides full access to the main template library, while <boost/cregex.hpp> - provides access to the (deprecated) high level class RegEx, and the POSIX - API functions. + provides access to the POSIX API functions.

There is also a header containing only forward declarations <boost/regex_fwd.hpp> @@ -38,14 +38,11 @@ not need the full definitions.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/history.html b/doc/html/boost_regex/background/history.html index 0d5af912..1d915956 100644 --- a/doc/html/boost_regex/background/history.html +++ b/doc/html/boost_regex/background/history.html @@ -7,6 +7,7 @@ + @@ -551,14 +552,11 @@ -
- - -
+

PrevUpHome diff --git a/doc/html/boost_regex/background/locale.html b/doc/html/boost_regex/background/locale.html index 77c5e6de..ae8c3a6e 100644 --- a/doc/html/boost_regex/background/locale.html +++ b/doc/html/boost_regex/background/locale.html @@ -8,6 +8,7 @@ + @@ -1745,14 +1746,11 @@ error messages, and custom syntax messages replace the default ones.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/performance.html b/doc/html/boost_regex/background/performance.html index df2859c0..b7036e3e 100644 --- a/doc/html/boost_regex/background/performance.html +++ b/doc/html/boost_regex/background/performance.html @@ -8,6 +8,7 @@ + @@ -57,14 +58,11 @@ with various other regular expression libraries for the following compilers:

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/performance/section_id1378460593.html b/doc/html/boost_regex/background/performance/section_id1378460593.html index 75afd04e..efecda4c 100644 --- a/doc/html/boost_regex/background/performance/section_id1378460593.html +++ b/doc/html/boost_regex/background/performance/section_id1378460593.html @@ -8,6 +8,7 @@ + @@ -388,14 +389,11 @@
-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/performance/section_id1675827111.html b/doc/html/boost_regex/background/performance/section_id1675827111.html index 5011a89b..558c585a 100644 --- a/doc/html/boost_regex/background/performance/section_id1675827111.html +++ b/doc/html/boost_regex/background/performance/section_id1675827111.html @@ -8,6 +8,7 @@ + @@ -435,14 +436,11 @@
-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/performance/section_id3141719723.html b/doc/html/boost_regex/background/performance/section_id3141719723.html index ab4681fd..96d98661 100644 --- a/doc/html/boost_regex/background/performance/section_id3141719723.html +++ b/doc/html/boost_regex/background/performance/section_id3141719723.html @@ -8,6 +8,7 @@ + @@ -312,14 +313,11 @@
-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/performance/section_id3258595385.html b/doc/html/boost_regex/background/performance/section_id3258595385.html index 9353e78b..b052c742 100644 --- a/doc/html/boost_regex/background/performance/section_id3258595385.html +++ b/doc/html/boost_regex/background/performance/section_id3258595385.html @@ -8,6 +8,7 @@ + @@ -114,14 +115,11 @@
-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/performance/section_id3261825021.html b/doc/html/boost_regex/background/performance/section_id3261825021.html index 676daf2f..0bd80f65 100644 --- a/doc/html/boost_regex/background/performance/section_id3261825021.html +++ b/doc/html/boost_regex/background/performance/section_id3261825021.html @@ -8,6 +8,7 @@ + @@ -463,14 +464,11 @@
-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/performance/section_id3752650613.html b/doc/html/boost_regex/background/performance/section_id3752650613.html index 4196273c..5f8af577 100644 --- a/doc/html/boost_regex/background/performance/section_id3752650613.html +++ b/doc/html/boost_regex/background/performance/section_id3752650613.html @@ -8,6 +8,7 @@ + @@ -507,14 +508,11 @@
-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/performance/section_id4128344975.html b/doc/html/boost_regex/background/performance/section_id4128344975.html index ee678001..ae7e9fcd 100644 --- a/doc/html/boost_regex/background/performance/section_id4128344975.html +++ b/doc/html/boost_regex/background/performance/section_id4128344975.html @@ -8,6 +8,7 @@ + @@ -540,14 +541,11 @@
-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/performance/section_id4148872883.html b/doc/html/boost_regex/background/performance/section_id4148872883.html index ce915502..16ebd61d 100644 --- a/doc/html/boost_regex/background/performance/section_id4148872883.html +++ b/doc/html/boost_regex/background/performance/section_id4148872883.html @@ -8,6 +8,7 @@ + @@ -134,14 +135,11 @@
-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/background/standards.html b/doc/html/boost_regex/background/standards.html index c472b4b9..ba87d2a4 100644 --- a/doc/html/boost_regex/background/standards.html +++ b/doc/html/boost_regex/background/standards.html @@ -7,7 +7,8 @@ - + + @@ -20,7 +21,7 @@

-PrevUpHomeNext +PrevUpHomeNext

@@ -557,17 +558,14 @@

- - - -
+

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_regex/background/thread_safety.html b/doc/html/boost_regex/background/thread_safety.html index 108e44a7..fa91745c 100644 --- a/doc/html/boost_regex/background/thread_safety.html +++ b/doc/html/boost_regex/background/thread_safety.html @@ -8,6 +8,7 @@ + @@ -51,12 +52,6 @@ all re-entrant and thread safe, regular expressions compiled with regcomp can also be shared between threads.

-

- The class RegEx - is only thread safe if each thread gets its own RegEx instance (apartment - threading) - this is a consequence of RegEx handling both compiling and matching - regular expressions. -

Finally note that changing the global locale invalidates all compiled regular expressions, therefore calling set_locale @@ -68,14 +63,11 @@ to the start of main().

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/captures.html b/doc/html/boost_regex/captures.html index d55892e5..8ad5b8af 100644 --- a/doc/html/boost_regex/captures.html +++ b/doc/html/boost_regex/captures.html @@ -8,6 +8,7 @@ + @@ -370,14 +371,11 @@ Text: "now is the time for all good men to come to the aid of the party" -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/configuration.html b/doc/html/boost_regex/configuration.html index 315a31de..76cd55b4 100644 --- a/doc/html/boost_regex/configuration.html +++ b/doc/html/boost_regex/configuration.html @@ -8,6 +8,7 @@ + @@ -35,14 +36,11 @@
Algorithm Tuning
-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/configuration/compiler.html b/doc/html/boost_regex/configuration/compiler.html index a82ffb74..38f8e561 100644 --- a/doc/html/boost_regex/configuration/compiler.html +++ b/doc/html/boost_regex/configuration/compiler.html @@ -8,6 +8,7 @@ + @@ -34,14 +35,11 @@ that you can run.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/configuration/locale.html b/doc/html/boost_regex/configuration/locale.html index e94f4d11..7713145d 100644 --- a/doc/html/boost_regex/configuration/locale.html +++ b/doc/html/boost_regex/configuration/locale.html @@ -8,6 +8,7 @@ + @@ -93,14 +94,11 @@
- - - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/configuration/standalone.html b/doc/html/boost_regex/configuration/standalone.html index 35c7f117..25385b09 100644 --- a/doc/html/boost_regex/configuration/standalone.html +++ b/doc/html/boost_regex/configuration/standalone.html @@ -8,6 +8,7 @@ + @@ -49,14 +50,11 @@ manually define BOOST_NO_EXCEPTIONS when building.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/configuration/tuning.html b/doc/html/boost_regex/configuration/tuning.html index f9ae3ceb..67d7a277 100644 --- a/doc/html/boost_regex/configuration/tuning.html +++ b/doc/html/boost_regex/configuration/tuning.html @@ -8,6 +8,7 @@ + @@ -102,14 +103,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/format.html b/doc/html/boost_regex/format.html index aadd9657..2d791eaf 100644 --- a/doc/html/boost_regex/format.html +++ b/doc/html/boost_regex/format.html @@ -8,6 +8,7 @@ + @@ -46,14 +47,11 @@ string literal, and is copied unchanged to the output.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/format/boost_format_syntax.html b/doc/html/boost_regex/format/boost_format_syntax.html index a93e9da9..7442c2ea 100644 --- a/doc/html/boost_regex/format/boost_format_syntax.html +++ b/doc/html/boost_regex/format/boost_format_syntax.html @@ -8,6 +8,7 @@ + @@ -545,14 +546,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/format/perl_format.html b/doc/html/boost_regex/format/perl_format.html index c6ea0e00..eb59f21a 100644 --- a/doc/html/boost_regex/format/perl_format.html +++ b/doc/html/boost_regex/format/perl_format.html @@ -8,6 +8,7 @@ + @@ -487,14 +488,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/format/sed_format.html b/doc/html/boost_regex/format/sed_format.html index 31de2c1a..fcc4d315 100644 --- a/doc/html/boost_regex/format/sed_format.html +++ b/doc/html/boost_regex/format/sed_format.html @@ -8,6 +8,7 @@ + @@ -233,14 +234,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/install.html b/doc/html/boost_regex/install.html index 99b507b7..8cb6a338 100644 --- a/doc/html/boost_regex/install.html +++ b/doc/html/boost_regex/install.html @@ -8,6 +8,7 @@ + @@ -43,22 +44,13 @@ The library will encase all code inside namespace boost.

- This is a header only library provided your compiler supports C++11 or later. - Support for C++03 compilers is still present, but is now deprecated and may - be removed without further notice! + This is a header only library and all support for C++03 compilers has now been + removed.

The only people that still need to build the external libboost_regex library - are those that are either: + are those that are using the deprecated POSIX C API's

-
    -
  • - Using the library in C++03 mode, or, -
  • -
  • - Using the deprecated POSIX C API's -
  • -

Further, this library may now be used in "standalone" mode without the rest of the Boost C++ libraries, in order to do this you must either: @@ -109,259 +101,12 @@ as dependencies, and Boost.Regex is placed in standalone mode. Invoke CMake with -DBOOST_REGEX_STANDALONE=on to enable standalone mode. -

- - C++03 users only (DEPRECATED) Building with bjam -
-

- This is now the preferred method for building and installing legacy versions - this library, please refer to the getting - started guide for more information. -

-
- - Building - With Unicode and ICU Support -
-

- Boost.Regex is now capable of performing a configuration check to test whether - ICU is already installed in your compiler's search paths. When you build you - should see a message like this: -

-
Performing configuration checks
-
-    - has_icu builds           : yes
-
-

- Which means that ICU has been found, and support for it will be enabled in - the library build. -

-
- - - - - -
[Tip]Tip

- If you don't want the regex library to use ICU then build with the "--disable-icu" - command line option. -

-

- If instead you see: -

-
Performing configuration checks
-
-    - has_icu builds           : no
-
-

- Then ICU was not found and support for it will not be compiled into the library. - If you think that it should have been found, then you will need to take a look - at the contents of the file boost-root/bin.v2/config.log - for the actual error messages obtained when the build carried out the configuration - check. You will then need to fix these errors by ensuring your compiler gets - invoked with the correct options. The main options that you're likely to pass - to b2 are: -

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

- Option -

-
-

- Description -

-
-

- include=/some/path -

-
-

- Adds "/some/path" to the list of paths seached for include - files, normally equivalent to -I/some/path on most compilers. -

-
-

- library-path=/some/path -

-
-

- Adds "/some/path" to the list of paths searched for external - libraries, set this to the location of the ICU binaries if they're - in a non-standard location. -

-
-

- -sICU_ICUUC_NAME=NAME -

-
-

- If libicuuc has a - non-standard name then this sets the name of the library linked against, - defaults to either icuuc, - icuucd, sicuuc or sicuucd - depending on build options. -

-
-

- -sICU_ICUDT_NAME=NAME -

-
-

- If libicudata has - a non-standard name then this sets the name of the library linked - against, defaults to either icudt, - icudata, sicudt or sicudata - depending on build options and platform. -

-
-

- -sICU_ICUIN_NAME=NAME -

-
-

- If libicui18n has - a non-standatd name then this sets the name of the library linked - against, defaults to either icui18n, - icuin, icuind, sicuin or - sicuins` depending on build options and platform. -

-
-

- cxxstd=XX -

-
-

- Sets the C++ standard supported: XX should be either 03, 11, 14, - 17 or 2a. -

-
-

- cxxflags="FLAGS" -

-
-

- Passes "FLAGS" directly to the compiler, an option of last - resort! -

-
-

- linflags="FLAGS" -

-
-

- Passes "FLAGS" directly to the compiler on the link step, - an option of last resort! -

-
-
- - - - - -
[Important]Important

- Configuration results are cached - if you try rebuilding with different compiler - options then add an "-a" to the bjam command line to force all - targets to be rebuilt. -

-
- - - - - -
[Important]Important

- ICU is a C++ library just like Boost is, as such your copy of ICU must have - been built with the same C++ compiler (and compiler version) that you are - using to build Boost. Boost.Regex will not work correctly unless you ensure - that this is the case: it is up to you to ensure that the version of ICU - you are using is binary compatible with the toolset you use to build Boost. -

-

- And finally, if you want to build/test with multiple compiler versions, all - with different ICU builds, then the only way to achieve that currently is to - modify your user-config.jam so that each toolset has the necessary compiler/linker - options set so that ICU is found automatically by the configuration step (providing - the ICU binaries use the standard names, all you have to add is the appropriate - header-include and linker-search paths). -

-
- - Building - from Source -
-

- The Regex library is "just a bunch of source files": nothing special - is required to build them. -

-

- You can either build the files under boost-path/libs/regex/src/*.cpp as a library, - or add them directly to your project. This is particularly useful if you need - to use specific compiler options not supported by the default Boost build. -

-

- There are two #defines you should be aware of: -

-
    -
  • - BOOST_HAS_ICU should be defined if you want ICU support compiled in. -
  • -
  • - BOOST_REGEX_DYN_LINK should be defined if you are building a DLL on Windows. -
  • -
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/intro.html b/doc/html/boost_regex/intro.html index c6cfe8d5..eb27e534 100644 --- a/doc/html/boost_regex/intro.html +++ b/doc/html/boost_regex/intro.html @@ -8,6 +8,7 @@ + @@ -178,7 +179,7 @@ a series of strings (similar to perl style split operations).

- For those that dislike templates, there is a high level wrapper class RegEx + For those that dislike templates, there is a high level wrapper class [RegEx] that is an encapsulation of the lower level template code - it provides a simplified interface for those that don't need the full power of the library, and supports only narrow characters, and the "extended" regular expression syntax. @@ -198,14 +199,11 @@ expression libraries including GNU and BSD4 regex packages, PCRE and Perl 5.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/partial_matches.html b/doc/html/boost_regex/partial_matches.html index 389c7a0d..d043ef69 100644 --- a/doc/html/boost_regex/partial_matches.html +++ b/doc/html/boost_regex/partial_matches.html @@ -8,6 +8,7 @@ + @@ -300,14 +301,11 @@ } -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref.html b/doc/html/boost_regex/ref.html index a8cd08a1..4c4fd706 100644 --- a/doc/html/boost_regex/ref.html +++ b/doc/html/boost_regex/ref.html @@ -8,6 +8,7 @@ + @@ -100,21 +101,16 @@
regex_grep (Deprecated)
regex_split (deprecated)
-
High Level Class - RegEx (Deprecated)
Internal Details
Unicode Iterators
-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/bad_expression.html b/doc/html/boost_regex/ref/bad_expression.html index 1cbc36f8..8d535061 100644 --- a/doc/html/boost_regex/ref/bad_expression.html +++ b/doc/html/boost_regex/ref/bad_expression.html @@ -8,6 +8,7 @@ + @@ -87,14 +88,11 @@ Report on C++ Library Extensions.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/basic_regex.html b/doc/html/boost_regex/ref/basic_regex.html index ca1944f6..7c08f166 100644 --- a/doc/html/boost_regex/ref/basic_regex.html +++ b/doc/html/boost_regex/ref/basic_regex.html @@ -8,6 +8,7 @@ + @@ -1244,14 +1245,11 @@ Effects: calls lhs.swap(rhs).

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/concepts.html b/doc/html/boost_regex/ref/concepts.html index f198349d..c6e8c0ea 100644 --- a/doc/html/boost_regex/ref/concepts.html +++ b/doc/html/boost_regex/ref/concepts.html @@ -8,6 +8,7 @@ + @@ -34,14 +35,11 @@ Requirements -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/concepts/charT_concept.html b/doc/html/boost_regex/ref/concepts/charT_concept.html index 2fb81e03..957444fa 100644 --- a/doc/html/boost_regex/ref/concepts/charT_concept.html +++ b/doc/html/boost_regex/ref/concepts/charT_concept.html @@ -8,6 +8,7 @@ + @@ -256,14 +257,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/concepts/iterator_concepts.html b/doc/html/boost_regex/ref/concepts/iterator_concepts.html index 1d1f5535..ce031977 100644 --- a/doc/html/boost_regex/ref/concepts/iterator_concepts.html +++ b/doc/html/boost_regex/ref/concepts/iterator_concepts.html @@ -8,6 +8,7 @@ + @@ -31,14 +32,11 @@ The regular expression algorithms (and iterators) take all require a Bidirectional-Iterator.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/concepts/traits_concept.html b/doc/html/boost_regex/ref/concepts/traits_concept.html index 6f229b7f..a7b73fef 100644 --- a/doc/html/boost_regex/ref/concepts/traits_concept.html +++ b/doc/html/boost_regex/ref/concepts/traits_concept.html @@ -8,6 +8,7 @@ + @@ -575,14 +576,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/deprecated.html b/doc/html/boost_regex/ref/deprecated.html index 8e2d6a5f..1db77dae 100644 --- a/doc/html/boost_regex/ref/deprecated.html +++ b/doc/html/boost_regex/ref/deprecated.html @@ -8,6 +8,7 @@ + @@ -32,18 +33,13 @@
regex_grep (Deprecated)
regex_split (deprecated)
-
High Level Class - RegEx (Deprecated)
-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/deprecated/regex_format.html b/doc/html/boost_regex/ref/deprecated/regex_format.html index baf9f5d6..12d4d04b 100644 --- a/doc/html/boost_regex/ref/deprecated/regex_format.html +++ b/doc/html/boost_regex/ref/deprecated/regex_format.html @@ -8,6 +8,7 @@ + @@ -157,14 +158,11 @@ under format strings.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/deprecated/regex_grep.html b/doc/html/boost_regex/ref/deprecated/regex_grep.html index af5e6051..79dd56f3 100644 --- a/doc/html/boost_regex/ref/deprecated/regex_grep.html +++ b/doc/html/boost_regex/ref/deprecated/regex_grep.html @@ -8,6 +8,7 @@ + @@ -359,14 +360,11 @@ } -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/deprecated/regex_split.html b/doc/html/boost_regex/ref/deprecated/regex_split.html index ceae4d1a..8d5175be 100644 --- a/doc/html/boost_regex/ref/deprecated/regex_split.html +++ b/doc/html/boost_regex/ref/deprecated/regex_split.html @@ -7,7 +7,8 @@ - + + @@ -20,7 +21,7 @@

-PrevUpHomeNext +PrevUpHomeNext

@@ -147,17 +148,14 @@ }

- - - -
+

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_regex/ref/error_type.html b/doc/html/boost_regex/ref/error_type.html index 8e5a0091..1af2f6a8 100644 --- a/doc/html/boost_regex/ref/error_type.html +++ b/doc/html/boost_regex/ref/error_type.html @@ -8,6 +8,7 @@ + @@ -255,14 +256,11 @@
- - - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/internals.html b/doc/html/boost_regex/ref/internals.html index a6d908c6..9faedee5 100644 --- a/doc/html/boost_regex/ref/internals.html +++ b/doc/html/boost_regex/ref/internals.html @@ -6,8 +6,9 @@ - + + @@ -20,7 +21,7 @@

-PrevUpHomeNext +PrevUpHomeNext

@@ -28,17 +29,14 @@

- - - -
+

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_regex/ref/internals/uni_iter.html b/doc/html/boost_regex/ref/internals/uni_iter.html index 236649ee..1c6e3585 100644 --- a/doc/html/boost_regex/ref/internals/uni_iter.html +++ b/doc/html/boost_regex/ref/internals/uni_iter.html @@ -8,6 +8,7 @@ + @@ -161,14 +162,11 @@ must be in native byte order.

-
- - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/match_flag_type.html b/doc/html/boost_regex/ref/match_flag_type.html index cfa7c680..0c4ae614 100644 --- a/doc/html/boost_regex/ref/match_flag_type.html +++ b/doc/html/boost_regex/ref/match_flag_type.html @@ -8,6 +8,7 @@ + @@ -481,14 +482,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/match_results.html b/doc/html/boost_regex/ref/match_results.html index b0cb20d6..05b2da5d 100644 --- a/doc/html/boost_regex/ref/match_results.html +++ b/doc/html/boost_regex/ref/match_results.html @@ -8,6 +8,7 @@ + @@ -816,14 +817,11 @@ Effects: Swaps the contents of the two sequences.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings.html b/doc/html/boost_regex/ref/non_std_strings.html index 95508a79..d6170100 100644 --- a/doc/html/boost_regex/ref/non_std_strings.html +++ b/doc/html/boost_regex/ref/non_std_strings.html @@ -8,6 +8,7 @@ + @@ -71,14 +72,11 @@ class types.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings/icu.html b/doc/html/boost_regex/ref/non_std_strings/icu.html index 9df1edc3..983afa5e 100644 --- a/doc/html/boost_regex/ref/non_std_strings/icu.html +++ b/doc/html/boost_regex/ref/non_std_strings/icu.html @@ -8,6 +8,7 @@ + @@ -38,14 +39,11 @@ Aware Regex Iterators -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings/icu/intro.html b/doc/html/boost_regex/ref/non_std_strings/icu/intro.html index 8ed5d6e1..c2a3c848 100644 --- a/doc/html/boost_regex/ref/non_std_strings/icu/intro.html +++ b/doc/html/boost_regex/ref/non_std_strings/icu/intro.html @@ -8,6 +8,7 @@ + @@ -63,14 +64,11 @@ care of when using this header.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings/icu/unicode_algo.html b/doc/html/boost_regex/ref/non_std_strings/icu/unicode_algo.html index fed7584e..336478b8 100644 --- a/doc/html/boost_regex/ref/non_std_strings/icu/unicode_algo.html +++ b/doc/html/boost_regex/ref/non_std_strings/icu/unicode_algo.html @@ -8,6 +8,7 @@ + @@ -164,14 +165,11 @@ } -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings/icu/unicode_iter.html b/doc/html/boost_regex/ref/non_std_strings/icu/unicode_iter.html index a9f720f6..9ce45506 100644 --- a/doc/html/boost_regex/ref/non_std_strings/icu/unicode_iter.html +++ b/doc/html/boost_regex/ref/non_std_strings/icu/unicode_iter.html @@ -8,6 +8,7 @@ + @@ -307,14 +308,11 @@ } -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings/icu/unicode_types.html b/doc/html/boost_regex/ref/non_std_strings/icu/unicode_types.html index 89131f8a..6772296e 100644 --- a/doc/html/boost_regex/ref/non_std_strings/icu/unicode_types.html +++ b/doc/html/boost_regex/ref/non_std_strings/icu/unicode_types.html @@ -8,6 +8,7 @@ + @@ -116,14 +117,11 @@ object from the UTF-16 encoding string s.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings/mfc_strings.html b/doc/html/boost_regex/ref/non_std_strings/mfc_strings.html index aaaab8f9..e7fb077f 100644 --- a/doc/html/boost_regex/ref/non_std_strings/mfc_strings.html +++ b/doc/html/boost_regex/ref/non_std_strings/mfc_strings.html @@ -8,6 +8,7 @@ + @@ -40,14 +41,11 @@ Over the Matches Within An MFC String -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_algo.html b/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_algo.html index 4173ac83..9fe321c9 100644 --- a/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_algo.html +++ b/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_algo.html @@ -8,6 +8,7 @@ + @@ -212,14 +213,11 @@ } -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_intro.html b/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_intro.html index 2120ca9f..3b8a79b0 100644 --- a/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_intro.html +++ b/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_intro.html @@ -8,6 +8,7 @@ + @@ -49,14 +50,11 @@ CSimpleStringT<charT> -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_iter.html b/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_iter.html index 3482317a..bf70b121 100644 --- a/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_iter.html +++ b/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_iter.html @@ -8,6 +8,7 @@ + @@ -134,14 +135,11 @@ } -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_regex_create.html b/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_regex_create.html index 5812339f..cd55970d 100644 --- a/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_regex_create.html +++ b/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_regex_create.html @@ -8,6 +8,7 @@ + @@ -41,14 +42,11 @@ f);

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_regex_types.html b/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_regex_types.html index c464ee08..1f1459e1 100644 --- a/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_regex_types.html +++ b/doc/html/boost_regex/ref/non_std_strings/mfc_strings/mfc_regex_types.html @@ -8,6 +8,7 @@ + @@ -42,14 +43,11 @@ and wregex instead.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/posix.html b/doc/html/boost_regex/ref/posix.html index 85baa6ac..0782ded3 100644 --- a/doc/html/boost_regex/ref/posix.html +++ b/doc/html/boost_regex/ref/posix.html @@ -8,6 +8,7 @@ + @@ -537,14 +538,11 @@ that was allocated by regcomp.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/regex_iterator.html b/doc/html/boost_regex/ref/regex_iterator.html index 05f475a2..d024f3e7 100644 --- a/doc/html/boost_regex/ref/regex_iterator.html +++ b/doc/html/boost_regex/ref/regex_iterator.html @@ -8,6 +8,7 @@ + @@ -515,14 +516,11 @@ } -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/regex_match.html b/doc/html/boost_regex/ref/regex_match.html index c1a718da..efbc4a24 100644 --- a/doc/html/boost_regex/ref/regex_match.html +++ b/doc/html/boost_regex/ref/regex_match.html @@ -8,6 +8,7 @@ + @@ -400,14 +401,11 @@ } -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/regex_replace.html b/doc/html/boost_regex/ref/regex_replace.html index 4b21aeb3..db8c5a4d 100644 --- a/doc/html/boost_regex/ref/regex_replace.html +++ b/doc/html/boost_regex/ref/regex_replace.html @@ -8,6 +8,7 @@ + @@ -316,14 +317,11 @@ constchar*footer_text="</PRE>\n</BODY>\n\n"; -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/regex_search.html b/doc/html/boost_regex/ref/regex_search.html index c9ebfeea..c464446e 100644 --- a/doc/html/boost_regex/ref/regex_search.html +++ b/doc/html/boost_regex/ref/regex_search.html @@ -8,6 +8,7 @@ + @@ -410,14 +411,11 @@ } -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/regex_token_iterator.html b/doc/html/boost_regex/ref/regex_token_iterator.html index 0d5e9687..da808d7c 100644 --- a/doc/html/boost_regex/ref/regex_token_iterator.html +++ b/doc/html/boost_regex/ref/regex_token_iterator.html @@ -8,6 +8,7 @@ + @@ -468,14 +469,11 @@ } -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/regex_traits.html b/doc/html/boost_regex/ref/regex_traits.html index ded687e8..4e0e777c 100644 --- a/doc/html/boost_regex/ref/regex_traits.html +++ b/doc/html/boost_regex/ref/regex_traits.html @@ -8,6 +8,7 @@ + @@ -91,14 +92,11 @@ class requirements.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/sub_match.html b/doc/html/boost_regex/ref/sub_match.html index e03b6757..cbc6c35f 100644 --- a/doc/html/boost_regex/ref/sub_match.html +++ b/doc/html/boost_regex/ref/sub_match.html @@ -8,6 +8,7 @@ + @@ -896,14 +897,11 @@ Effects: returns (os << m.str()).

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/syntax_option_type.html b/doc/html/boost_regex/ref/syntax_option_type.html index c8875b65..b294a19c 100644 --- a/doc/html/boost_regex/ref/syntax_option_type.html +++ b/doc/html/boost_regex/ref/syntax_option_type.html @@ -8,6 +8,7 @@ + @@ -41,14 +42,11 @@ for Literal Strings -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_basic.html b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_basic.html index a8061b3c..8a15716a 100644 --- a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_basic.html +++ b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_basic.html @@ -8,6 +8,7 @@ + @@ -398,14 +399,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_extended.html b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_extended.html index 840ac779..21d502cb 100644 --- a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_extended.html +++ b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_extended.html @@ -8,6 +8,7 @@ + @@ -351,14 +352,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_literal.html b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_literal.html index 39928e54..6b78f20a 100644 --- a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_literal.html +++ b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_literal.html @@ -8,6 +8,7 @@ + @@ -141,14 +142,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_overview.html b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_overview.html index a99d880e..60fb20d9 100644 --- a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_overview.html +++ b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_overview.html @@ -8,6 +8,7 @@ + @@ -58,14 +59,11 @@ in an interchangeable manner.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_perl.html b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_perl.html index 84dd2e42..cfaf46e6 100644 --- a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_perl.html +++ b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_perl.html @@ -8,6 +8,7 @@ + @@ -411,14 +412,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_synopsis.html b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_synopsis.html index 23bf2928..58c9c647 100644 --- a/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_synopsis.html +++ b/doc/html/boost_regex/ref/syntax_option_type/syntax_option_type_synopsis.html @@ -8,6 +8,7 @@ + @@ -86,14 +87,11 @@ }// namespace std -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax.html b/doc/html/boost_regex/syntax.html index 1c586ab9..d890da02 100644 --- a/doc/html/boost_regex/syntax.html +++ b/doc/html/boost_regex/syntax.html @@ -8,6 +8,7 @@ + @@ -80,14 +81,11 @@ a literal, but that's not really a "syntax"!

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax/basic_extended.html b/doc/html/boost_regex/syntax/basic_extended.html index 646c3478..609147d1 100644 --- a/doc/html/boost_regex/syntax/basic_extended.html +++ b/doc/html/boost_regex/syntax/basic_extended.html @@ -8,6 +8,7 @@ + @@ -1183,14 +1184,11 @@ cab Utilities, Section 4, Utilities, awk.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax/basic_syntax.html b/doc/html/boost_regex/syntax/basic_syntax.html index 106ed292..7598539b 100644 --- a/doc/html/boost_regex/syntax/basic_syntax.html +++ b/doc/html/boost_regex/syntax/basic_syntax.html @@ -8,6 +8,7 @@ + @@ -640,14 +641,11 @@ aaaa Emacs Version 21.3.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax/character_classes.html b/doc/html/boost_regex/syntax/character_classes.html index 1e32ea27..43aca0b3 100644 --- a/doc/html/boost_regex/syntax/character_classes.html +++ b/doc/html/boost_regex/syntax/character_classes.html @@ -8,6 +8,7 @@ + @@ -34,14 +35,11 @@ classes that are supported by Unicode Regular Expressions -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax/character_classes/optional_char_class_names.html b/doc/html/boost_regex/syntax/character_classes/optional_char_class_names.html index 1db8909f..09afd14d 100644 --- a/doc/html/boost_regex/syntax/character_classes/optional_char_class_names.html +++ b/doc/html/boost_regex/syntax/character_classes/optional_char_class_names.html @@ -8,6 +8,7 @@ + @@ -525,14 +526,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax/character_classes/std_char_classes.html b/doc/html/boost_regex/syntax/character_classes/std_char_classes.html index a2c59beb..809e6989 100644 --- a/doc/html/boost_regex/syntax/character_classes/std_char_classes.html +++ b/doc/html/boost_regex/syntax/character_classes/std_char_classes.html @@ -8,6 +8,7 @@ + @@ -380,14 +381,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax/collating_names.html b/doc/html/boost_regex/syntax/collating_names.html index 6cab7e85..4e63ede3 100644 --- a/doc/html/boost_regex/syntax/collating_names.html +++ b/doc/html/boost_regex/syntax/collating_names.html @@ -8,6 +8,7 @@ + @@ -34,14 +35,11 @@ Unicode Characters -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax/collating_names/digraphs.html b/doc/html/boost_regex/syntax/collating_names/digraphs.html index b5bf303d..07610885 100644 --- a/doc/html/boost_regex/syntax/collating_names/digraphs.html +++ b/doc/html/boost_regex/syntax/collating_names/digraphs.html @@ -8,6 +8,7 @@ + @@ -45,14 +46,11 @@ and the character "c".

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax/collating_names/named_unicode.html b/doc/html/boost_regex/syntax/collating_names/named_unicode.html index be163f98..c1a996a5 100644 --- a/doc/html/boost_regex/syntax/collating_names/named_unicode.html +++ b/doc/html/boost_regex/syntax/collating_names/named_unicode.html @@ -8,6 +8,7 @@ + @@ -38,14 +39,11 @@ would match the Unicode character 0x0418.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax/collating_names/posix_symbolic_names.html b/doc/html/boost_regex/syntax/collating_names/posix_symbolic_names.html index ba75568c..53a1b322 100644 --- a/doc/html/boost_regex/syntax/collating_names/posix_symbolic_names.html +++ b/doc/html/boost_regex/syntax/collating_names/posix_symbolic_names.html @@ -8,6 +8,7 @@ + @@ -967,14 +968,11 @@
- - - -
+
PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax/leftmost_longest_rule.html b/doc/html/boost_regex/syntax/leftmost_longest_rule.html index 67897949..15747975 100644 --- a/doc/html/boost_regex/syntax/leftmost_longest_rule.html +++ b/doc/html/boost_regex/syntax/leftmost_longest_rule.html @@ -8,6 +8,7 @@ + @@ -63,14 +64,11 @@ -
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/syntax/perl_syntax.html b/doc/html/boost_regex/syntax/perl_syntax.html index 8cf0e0cb..aebc6142 100644 --- a/doc/html/boost_regex/syntax/perl_syntax.html +++ b/doc/html/boost_regex/syntax/perl_syntax.html @@ -8,6 +8,7 @@ + @@ -1664,14 +1665,11 @@ Perl 5.8.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/boost_regex/unicode.html b/doc/html/boost_regex/unicode.html index f60d1c8b..8da30319 100644 --- a/doc/html/boost_regex/unicode.html +++ b/doc/html/boost_regex/unicode.html @@ -8,6 +8,7 @@ + @@ -69,14 +70,11 @@ See: ICU string class support.

-
- - -
+

PrevUpHomeNext diff --git a/doc/html/index.html b/doc/html/index.html index 4c85c747..d933740f 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -6,6 +6,7 @@ + @@ -163,8 +164,6 @@
regex_grep (Deprecated)
regex_split (deprecated)
-
High Level Class - RegEx (Deprecated)
Internal Details
Unicode Iterators
@@ -203,7 +202,6 @@ leftmost-longest searches (platform = linux, compiler = GNU C++ version 6.3.0)
Standards Conformance
-
Redistributables
Acknowledgements
History
@@ -214,10 +212,7 @@ version of this manual is also available.

-
- - -

Last revised: December 09, 2022 at 16:44:04 GMT

+
Next
diff --git a/doc/install.qbk b/doc/install.qbk index 8648790e..6ed8dc1c 100644 --- a/doc/install.qbk +++ b/doc/install.qbk @@ -20,13 +20,10 @@ process is the same as for all of boost; see the The library will encase all code inside namespace boost. -This is a header only library provided your compiler supports C++11 or later. Support for -C++03 compilers is still present, but is now deprecated and may be removed without further notice! +This is a header only library and all support for +C++03 compilers has now been removed. -The only people that still need to build the external libboost_regex library are those that are either: - -* Using the library in C++03 mode, or, -* Using the deprecated POSIX C API's +The only people that still need to build the external libboost_regex library are those that are using the deprecated POSIX C API's Further, this library may now be used in "standalone" mode without the rest of the Boost C++ libraries, in order to do this you must either: @@ -52,81 +49,5 @@ There is also one configuration option: * BOOST_REGEX_STANDALONE when set then no other Boost libraries are targeted as dependencies, and Boost.Regex is placed in standalone mode. Invoke CMake with -DBOOST_REGEX_STANDALONE=on to enable standalone mode. -[h4 [*C++03 users only (DEPRECATED)] Building with bjam] - -This is now the preferred method for building and installing legacy versions this library, -please refer to the -[@../../../../more/getting_started.html getting started guide] for more information. - -[h4 Building With Unicode and ICU Support] - -Boost.Regex is now capable of performing a configuration check -to test whether ICU is already installed in your compiler's -search paths. When you build you should see a message like -this: - - Performing configuration checks - - - has_icu builds : yes - -Which means that ICU has been found, and support for it will be enabled -in the library build. - -[tip If you don't want the regex library to use ICU then build with the -"--disable-icu" command line option.] - -If instead you see: - - Performing configuration checks - - - has_icu builds : no - -Then ICU was not found and support for it will not be compiled into the library. -If you think that it should have been found, then you will need to take a look -at the contents of the file ['boost-root/bin.v2/config.log] for the actual error -messages obtained when the build carried out the configuration check. You will -then need to fix these errors by ensuring your compiler gets invoked with the correct -options. The main options that you're likely to pass to `b2` are: - -[table -[[Option][Description]] -[[include=/some/path][Adds "/some/path" to the list of paths seached for include files, normally equivalent to `-I/some/path` on most compilers.]] -[[library-path=/some/path][Adds "/some/path" to the list of paths searched for external libraries, set this to the location of the ICU binaries if they're in a non-standard location.]] -[[-sICU_ICUUC_NAME=NAME][If `libicuuc` has a non-standard name then this sets the name of the library linked against, defaults to either `icuuc`, `icuucd`, `sicuuc` or `sicuucd` depending on build options.]] -[[-sICU_ICUDT_NAME=NAME][If `libicudata` has a non-standard name then this sets the name of the library linked against, defaults to either `icudt`, `icudata`, `sicudt` or `sicudata` depending on build options and platform.]] -[[-sICU_ICUIN_NAME=NAME][If `libicui18n` has a non-standatd name then this sets the name of the library linked against, defaults to either `icui18n`, `icuin`, `icuind`, sicuin` or `sicuins` depending on build options and platform.]] -[[cxxstd=XX][Sets the C++ standard supported: XX should be either 03, 11, 14, 17 or 2a.]] -[[cxxflags="FLAGS"][Passes "FLAGS" directly to the compiler, an option of last resort!]] -[[linflags="FLAGS"][Passes "FLAGS" directly to the compiler on the link step, an option of last resort!]] -] - -[important Configuration results are cached - if you try rebuilding with different compiler -options then add an "-a" to the bjam command line to force all targets to be rebuilt.] - -[important ICU is a C++ library just like Boost is, as such your copy of -ICU must have been built with the same C++ compiler (and compiler version) -that you are using to build Boost. Boost.Regex will not work correctly unless -you ensure that this is the case: it is up to you to ensure that the version -of ICU you are using is binary compatible with the toolset you use to build Boost.] - -And finally, if you want to build/test with multiple compiler versions, all with different ICU -builds, then the only way to achieve that currently is to modify your user-config.jam so that -each toolset has the necessary compiler/linker options set so that ICU is found automatically -by the configuration step (providing the ICU binaries use the standard names, all you have to -add is the appropriate header-include and linker-search paths). - -[h4 Building from Source] - -The Regex library is "just a bunch of source files": nothing special is required to build them. - -You can either build the files under boost-path/libs/regex/src/*.cpp as a library, or add them -directly to your project. This is particularly useful if you need to use specific compiler -options not supported by the default Boost build. - -There are two #defines you should be aware of: - -* BOOST_HAS_ICU should be defined if you want ICU support compiled in. -* BOOST_REGEX_DYN_LINK should be defined if you are building a DLL on Windows. - [endsect] diff --git a/doc/old_regex.qbk b/doc/old_regex.qbk deleted file mode 100644 index e2415a75..00000000 --- a/doc/old_regex.qbk +++ /dev/null @@ -1,283 +0,0 @@ -[/ - Copyright 2006-2007 John Maddock. - Distributed under the Boost Software License, Version 1.0. - (See accompanying file LICENSE_1_0.txt or copy at - http://www.boost.org/LICENSE_1_0.txt). -] - - -[section:old_regex High Level Class RegEx (Deprecated)] - -The high level wrapper class RegEx is now deprecated and does not form -part of the regular expression standardization proposal. This type still -exists, and existing code will continue to compile, however the following -documentation is unlikely to be further updated. - - #include - -The class RegEx provides a high level simplified interface to the regular -expression library, this class only handles narrow character strings, and -regular expressions always follow the "normal" syntax - that is the -same as the perl / ECMAScript syntax. - - typedef bool (*GrepCallback)(const RegEx& expression); - typedef bool (*GrepFileCallback)(const char* file, const RegEx& expression); - typedef bool (*FindFilesCallback)(const char* file); - - class RegEx - { - public: - RegEx(); - RegEx(const RegEx& o); - ~RegEx(); - RegEx(const char* c, bool icase = false); - explicit RegEx(const std::string& s, bool icase = false); - RegEx& operator=(const RegEx& o); - RegEx& operator=(const char* p); - RegEx& operator=(const std::string& s); - unsigned int SetExpression(const char* p, bool icase = false); - unsigned int SetExpression(const std::string& s, bool icase = false); - std::string Expression()const; - // - // now matching operators: - // - bool Match(const char* p, boost::match_flag_type flags = match_default); - bool Match(const std::string& s, boost::match_flag_type flags = match_default); - bool Search(const char* p, boost::match_flag_type flags = match_default); - bool Search(const std::string& s, boost::match_flag_type flags = match_default); - unsigned int Grep(GrepCallback cb, const char* p, - boost::match_flag_type flags = match_default); - unsigned int Grep(GrepCallback cb, const std::string& s, - boost::match_flag_type flags = match_default); - unsigned int Grep(std::vector& v, const char* p, - boost::match_flag_type flags = match_default); - unsigned int Grep(std::vector& v, const std::string& s, - boost::match_flag_type flags = match_default); - unsigned int Grep(std::vector& v, const char* p, - boost::match_flag_type flags = match_default); - unsigned int Grep(std::vector& v, const std::string& s, - boost::match_flag_type flags = match_default); - unsigned int GrepFiles(GrepFileCallback cb, const char* files, bool recurse = false, - boost::match_flag_type flags = match_default); - unsigned int GrepFiles(GrepFileCallback cb, const std::string& files, - bool recurse = false, - boost::match_flag_type flags = match_default); - unsigned int FindFiles(FindFilesCallback cb, const char* files, - bool recurse = false, - boost::match_flag_type flags = match_default); - unsigned int FindFiles(FindFilesCallback cb, const std::string& files, - bool recurse = false, - boost::match_flag_type flags = match_default); - std::string Merge(const std::string& in, const std::string& fmt, - bool copy = true, boost::match_flag_type flags = match_default); - std::string Merge(const char* in, const char* fmt, bool copy = true, - boost::match_flag_type flags = match_default); - unsigned Split(std::vector& v, std::string& s, - boost::match_flag_type flags = match_default, - unsigned max_count = ~0); - // - // now operators for returning what matched in more detail: - // - unsigned int Position(int i = 0)const; - unsigned int Length(int i = 0)const; - bool Matched(int i = 0)const; - unsigned int Line()const; - unsigned int Marks() const; - std::string What(int i)const; - std::string operator[](int i)const ; - - static const unsigned int npos; - }; - -Member functions for class RegEx are defined as follows: - -[table -[[Member][Description]] -[[`RegEx();`][Default constructor, constructs an instance of RegEx without any valid expression. ]] -[[`RegEx(const RegEx& o);`][Copy constructor, all the properties of parameter /o/ - are copied. ]] -[[`RegEx(const char* c, bool icase = false);`][Constructs an instance of RegEx, - setting the expression to /c/, if /icase/ is true then matching is - insensitive to case, otherwise it is sensitive to case. Throws - [bad_expression] on failure. ]] -[[`RegEx(const std::string& s, bool icase = false);`][Constructs an instance of - RegEx, setting the expression to /s/, if /icase/ is true then matching - is insensitive to case, otherwise it is sensitive to case. Throws - [bad_expression] on failure. ]] -[[`RegEx& operator=(const RegEx& o);`][Default assignment operator. ]] -[[`RegEx& operator=(const char* p);`][Assignment operator, equivalent to calling - `SetExpression(p, false)`. Throws [bad_expression] on failure. ]] -[[`RegEx& operator=(const std::string& s);`][Assignment operator, equivalent to - calling `SetExpression(s, false)`. Throws [bad_expression] on failure. ]] -[[`unsigned int SetExpression(const char* p, bool icase = false);`][Sets the - current expression to /p/, if /icase/ is true then matching is - insensitive to case, otherwise it is sensitive to case. - Throws [bad_expression] on failure. ]] -[[`unsigned int SetExpression(const std::string& s, bool icase = false);`] - [Sets the current expression to /s/, if /icase/ is true then matching is - insensitive to case, otherwise it is sensitive to case. Throws - [bad_expression] on failure. ]] -[[`std::string Expression()const;`][Returns a copy of the current regular expression. ]] -[[`bool Match(const char* p, boost::match_flag_type flags = match_default);`] - [Attempts to match the current expression against the text /p/ using - the match flags /flags/ - see [match_flag_type]. Returns /true/ if the - expression matches the whole of the input string. ]] -[[`bool Match(const std::string& s, boost::match_flag_type flags = match_default);`] - [Attempts to match the current expression against the text /s/ using - the [match_flag_type] /flags/. Returns /true/ if the expression matches - the whole of the input string. ]] -[[`bool Search(const char* p, boost::match_flag_type flags = match_default);`] - [Attempts to find a match for the current expression somewhere in - the text /p/ using the [match_flag_type] /flags/. Returns /true/ - if the match succeeds. ]] -[[`bool Search(const std::string& s, boost::match_flag_type flags = match_default);`] - [Attempts to find a match for the current expression somewhere in the - text /s/ using the [match_flag_type] flags. Returns /true/ if the - match succeeds. ]] -[[`unsigned int Grep(GrepCallback cb, const char* p, boost::match_flag_type flags = match_default);`] - [Finds all matches of the current expression in the text /p/ using the - [match_flag_type] /flags/. For each match found calls the call-back - function cb as: `cb(*this);` - If at any stage the call-back function returns /false/ then the grep - operation terminates, otherwise continues until no further matches - are found. Returns the number of matches found.]] -[[`unsigned int Grep(GrepCallback cb, const std::string& s, boost::match_flag_type flags = match_default);`] - [Finds all matches of the current expression in the text /s/ using the - [match_flag_type] flags. For each match found calls the call-back - function cb as: `cb(*this);` - If at any stage the call-back function returns false then the grep operation - terminates, otherwise continues until no further matches are found. - Returns the number of matches found.]] -[[`unsigned int Grep(std::vector& v, const char* p, boost::match_flag_type flags = match_default);`] - [Finds all matches of the current expression in the text /p/ using the - [match_flag_type] flags. For each match pushes a copy of what matched - onto /v/. Returns the number of matches found. ]] -[[`unsigned int Grep(std::vector& v, const std::string& s, boost::match_flag_type flags = match_default);`] - [Finds all matches of the current expression in the text /s/ using the - [match_flag_type] /flags/. For each match pushes a copy of what - matched onto /v/. Returns the number of matches found. ]] -[[`unsigned int Grep(std::vector& v, const char* p, boost::match_flag_type flags = match_default);`] - [Finds all matches of the current expression in the text /p/ using the - [match_flag_type] /flags/. For each match pushes the starting index of - what matched onto /v/. Returns the number of matches found. ]] -[[`unsigned int Grep(std::vector& v, const std::string& s, boost::match_flag_type flags = match_default);`] - [Finds all matches of the current expression in the text /s/ using the - [match_flag_type] /flags/. For each match pushes the starting index of what - matched onto /v/. Returns the number of matches found. ]] -[[`unsigned int GrepFiles(GrepFileCallback cb, const char* files, bool recurse = false, boost::match_flag_type flags = match_default);`] - [Finds all matches of the current expression in the files /files/ using - the [match_flag_type] /flags/. For each match calls the call-back function cb. - If the call-back returns false then the algorithm returns without - considering further matches in the current file, or any further files. - - The parameter /files/ can include wild card characters '\*' and '\?', if - the parameter recurse is true then searches sub-directories for matching - file names. - - Returns the total number of matches found. - - May throw an exception derived from `std::runtime_error` if file io fails.]] -[[`unsigned int GrepFiles(GrepFileCallback cb, const std::string& files, bool recurse = false, boost::match_flag_type flags = match_default);`] - [Finds all matches of the current expression in the files /files/ using the - [match_flag_type] /flags/. For each match calls the call-back function cb. - - If the call-back returns false then the algorithm returns without - considering further matches in the current file, or any further files. - - The parameter /files/ can include wild card characters '\*' and '\?', if - the parameter recurse is true then searches sub-directories for - matching file names. - - Returns the total number of matches found. - - May throw an exception derived from `std::runtime_error` if file io fails.]] - -[[`unsigned int FindFiles(FindFilesCallback cb, const char* files, bool recurse = false, boost::match_flag_type flags = match_default);`] - [Searches files to find all those which contain at least one match of - the current expression using the [match_flag_type] /flags/. For each - matching file calls the call-back function cb. - If the call-back returns false then the algorithm returns without - considering any further files. - - The parameter /files/ can include wild card characters '\*' and '\?', if - the parameter /recurse/ is true then searches sub-directories for - matching file names. - - Returns the total number of files found. - - May throw an exception derived from `std::runtime_error` if file io fails.]] -[[`unsigned int FindFiles(FindFilesCallback cb, const std::string& files, bool recurse = false, boost::match_flag_type flags = match_default);`] - [Searches files to find all those which contain at least one - match of the current expression using the [match_flag_type] /flags/. - For each matching file calls the call-back function cb. - - If the call-back returns false then the algorithm returns without - considering any further files. - - The parameter /files/ can include wild card characters '\*' and '\?', if - the parameter /recurse/ is true then searches sub-directories for - matching file names. - - Returns the total number of files found. - - May throw an exception derived from `std::runtime_error` if file io fails.]] - -[[`std::string Merge(const std::string& in, const std::string& fmt, bool copy = true, boost::match_flag_type flags = match_default);`] - [Performs a search and replace operation: searches through the - string /in/ for all occurrences of the current expression, for each - occurrence replaces the match with the format string /fmt/. Uses /flags/ - to determine what gets matched, and how the format string should be - treated. If /copy/ is true then all unmatched sections of input are - copied unchanged to output, if the flag /format_first_only/ is set then - only the first occurrence of the pattern found is replaced. - Returns the new string. See also - [link boost_regex.format format string syntax], and [match_flag_type].]] -[[`std::string Merge(const char* in, const char* fmt, bool copy = true, boost::match_flag_type flags = match_default);`] - [Performs a search and replace operation: searches through the string /in/ - for all occurrences of the current expression, for each occurrence - replaces the match with the format string /fmt/. Uses /flags/ to determine - what gets matched, and how the format string should be treated. - If /copy/ is true then all unmatched sections of input are copied - unchanged to output, if the flag /format_first_only/ is set then only - the first occurrence of the pattern found is replaced. Returns - the new string. See also [link boost_regex.format format string syntax], and [match_flag_type].]] -[[`unsigned Split(std::vector& v, std::string& s, boost::match_flag_type flags = match_default, unsigned max_count = ~0);`] - [Splits the input string and pushes each one onto the vector. - If the expression contains no marked sub-expressions, then one - string is outputted for each section of the input that does not - match the expression. If the expression does contain marked - sub-expressions, then outputs one string for each marked - sub-expression each time a match occurs. Outputs no more than - /max_count/ strings. Before returning, deletes from the input string - /s/ all of the input that has been processed (all of the string if - /max_count/ was not reached). Returns the number of strings pushed - onto the vector. ]] -[[`unsigned int Position(int i = 0)const;`] - [Returns the position of what matched sub-expression /i/. If `i = 0` - then returns the position of the whole match. Returns `RegEx::npos` if - the supplied index is invalid, or if the specified sub-expression - did not participate in the match. ]] -[[`unsigned int Length(int i = 0)const;`] - [Returns the length of what matched sub-expression i. If `i = 0` then - returns the length of the whole match. Returns `RegEx::npos` if the - supplied index is invalid, or if the specified sub-expression did not - participate in the match. ]] -[[`bool Matched(int i = 0)const;`] - [Returns true if sub-expression /i/ was matched, false otherwise. ]] -[[`unsigned int Line()const;`][Returns the line on which the match occurred, - indexes start from 1 not zero, if no match occurred then returns `RegEx::npos`. ]] -[[`unsigned int Marks() const;`][Returns the number of marked sub-expressions - contained in the expression. Note that this includes the whole - match (sub-expression zero), so the value returned is always >= 1. ]] -[[`std::string What(int i)const;`] - [Returns a copy of what matched sub-expression /i/. If `i = 0` then - returns a copy of the whole match. Returns a null string if the - index is invalid or if the specified sub-expression did not - participate in a match. ]] -[[`std::string operator[](int i)const ;`][Returns `what(i);` - Can be used to simplify access to sub-expression matches, and make - usage more perl-like.]] -] - -[endsect] - diff --git a/doc/redistributables.qbk b/doc/redistributables.qbk deleted file mode 100644 index c310ff67..00000000 --- a/doc/redistributables.qbk +++ /dev/null @@ -1,28 +0,0 @@ -[/ - Copyright 2006-2007 John Maddock. - Distributed under the Boost Software License, Version 1.0. - (See accompanying file LICENSE_1_0.txt or copy at - http://www.boost.org/LICENSE_1_0.txt). -] - - -[section:redist Redistributables] - -If you are using Microsoft or Borland C++ and link to a dll version of the -run time library, then you can choose to also link to a dll version of Boost.Regex -by defining the symbol BOOST_REGEX_DYN_LINK when you compile your code. -While these dll's are redistributable, there are no "standard" versions, -so when installing on the users PC, you should place these in a -directory private to your application, and not in the PC's directory path. -Note that if you link to a static version of your run time library, then -you will also link to a static version of Boost.Regex and no dll's will -need to be distributed. The possible Boost.Regex dll and library names are -computed according to the formula given in -[@../../../../more/getting_started.html the getting started guide]. - -Note: you can disable automatic library selection by defining the -symbol BOOST_REGEX_NO_LIB when compiling, this is useful if you want to -build Boost.Regex yourself in your IDE, or if you need to debug Boost.Regex. - -[endsect] - diff --git a/doc/regex.qbk b/doc/regex.qbk index 82556864..bc3d8103 100644 --- a/doc/regex.qbk +++ b/doc/regex.qbk @@ -40,7 +40,6 @@ [template boost_extended_format[] [link boost_regex.format.boost_format_syntax Boost-Extended]] [/depricated stuff:] -[template RegEx[] [link boost_regex.ref.deprecated.old_regex `RegEx`]] [template regcomp[] [link boost_regex.ref.posix.regcomp `regcomp`]] [template regexec[] [link boost_regex.ref.posix.regexec `regexec`]] [template regerror[] [link boost_regex.ref.posix.regerror `regerror`]] @@ -85,7 +84,6 @@ PDF version of this manual is also available]. [include regex_format.qbk] [include regex_grep.qbk] [include regex_split.qbk] -[include old_regex.qbk] [endsect] [section:internals Internal Details] @@ -104,7 +102,6 @@ PDF version of this manual is also available]. [include faq.qbk] [include performance.qbk] [include standards.qbk] -[include redistributables.qbk] [include acknowledgements.qbk] [include history.qbk] diff --git a/doc/thread_safety.qbk b/doc/thread_safety.qbk index af54b900..deaf1933 100644 --- a/doc/thread_safety.qbk +++ b/doc/thread_safety.qbk @@ -25,11 +25,6 @@ otherwise use a separate instance of [match_results] per thread. The [link boost_regex.ref.posix POSIX API functions] are all re-entrant and thread safe, regular expressions compiled with regcomp can also be shared between threads. -The [link boost_regex.ref.deprecated.old_regex class RegEx] is -only thread safe if each thread gets its own -RegEx instance (apartment threading) - this is a consequence of -RegEx handling both compiling and matching regular expressions. - Finally note that changing the global locale invalidates all compiled regular expressions, therefore calling `set_locale` from one thread while another uses regular expressions will produce unpredictable results. diff --git a/include/boost/cregex.hpp b/include/boost/cregex.hpp index 93aa1031..5313bad0 100644 --- a/include/boost/cregex.hpp +++ b/include/boost/cregex.hpp @@ -14,7 +14,6 @@ * FILE cregex.cpp * VERSION see * DESCRIPTION: Declares POSIX API functions - * + boost::RegEx high level wrapper. */ #ifndef BOOST_RE_CREGEX_HPP diff --git a/include/boost/regex/v5/cregex.hpp b/include/boost/regex/v5/cregex.hpp index a6571052..f855001e 100644 --- a/include/boost/regex/v5/cregex.hpp +++ b/include/boost/regex/v5/cregex.hpp @@ -14,7 +14,6 @@ * FILE cregex.cpp * VERSION see * DESCRIPTION: Declares POSIX API functions - * + boost::RegEx high level wrapper. */ #ifndef BOOST_RE_CREGEX_HPP_INCLUDED