diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index c3493ead..a8359dda 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -3,66 +3,75 @@ # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt. +import modules ; + project : requirements # default to all warnings on: all ; +local disable-icu = [ MATCH (--disable-icu) : [ modules.peek : ARGV ] ] ; + # # ICU configuration: # -if [ modules.peek : ICU_PATH ] -{ - ICU_PATH = [ modules.peek : ICU_PATH ] ; -} -if [ modules.peek : ICU_LINK ] -{ - ICU_LINK = [ modules.peek : ICU_LINK ] ; -} - -if $(ICU_LINK) +if ! $(disable-icu) { - ICU_OPTS = $(ICU_PATH)/include $(ICU_LINK) $(ICU_PATH)/bin BOOST_HAS_ICU=1 shared ; -} -else -{ - lib icuuc : : $(ICU_PATH)/lib shared shared ; - lib icuuc : : msvc debug icuucd $(ICU_PATH)/lib shared shared ; - lib icuuc : : this_is_an_invalid_library_name ; - lib icudt : : $(ICU_PATH)/lib icudata shared shared ; - lib icudt : : $(ICU_PATH)/lib icudt msvc shared shared ; - lib icudt : : this_is_an_invalid_library_name ; - lib icuin : : $(ICU_PATH)/lib icui18n shared shared ; - lib icuin : : msvc debug icuind $(ICU_PATH)/lib shared shared ; - lib icuin : : msvc release icuin $(ICU_PATH)/lib shared shared ; - lib icuin : : this_is_an_invalid_library_name ; - if $(ICU_PATH) - { - icuucd_name = [ GLOB $(ICU_PATH)/bin : icuuc??d.dll ] ; - icuuc_name = [ GLOB $(ICU_PATH)/bin : icuuc??.dll ] ; - icudt_name = [ GLOB $(ICU_PATH)/bin : icudt??.dll ] ; - icuin_name = [ GLOB $(ICU_PATH)/bin : icuin??.dll ] ; - icuind_name = [ GLOB $(ICU_PATH)/bin : icuin??d.dll ] ; - - #ECHO $(icuucd_name:B) $(icuuc_name:B) $(icudt_name:B) $(icuin_name:B) $(icuind_name:B) ; + if [ modules.peek : ICU_PATH ] + { + ICU_PATH = [ modules.peek : ICU_PATH ] ; + } + if [ modules.peek : ICU_LINK ] + { + ICU_LINK = [ modules.peek : ICU_LINK ] ; + } + + if $(ICU_LINK) + { + ICU_OPTS = $(ICU_PATH)/include $(ICU_LINK) $(ICU_PATH)/bin BOOST_HAS_ICU=1 shared ; + } + else + { + lib icuuc : : $(ICU_PATH)/lib shared shared ; + lib icuuc : : msvc debug icuucd $(ICU_PATH)/lib shared shared ; + lib icuuc : : this_is_an_invalid_library_name ; + lib icudt : : $(ICU_PATH)/lib icudata shared shared ; + lib icudt : : $(ICU_PATH)/lib icudt msvc shared shared ; + lib icudt : : this_is_an_invalid_library_name ; + lib icuin : : $(ICU_PATH)/lib icui18n shared shared ; + lib icuin : : msvc debug icuind $(ICU_PATH)/lib shared shared ; + lib icuin : : msvc release icuin $(ICU_PATH)/lib shared shared ; + lib icuin : : this_is_an_invalid_library_name ; + + if $(ICU_PATH) + { + icuucd_name = [ GLOB $(ICU_PATH)/bin : icuuc??d.dll ] ; + icuuc_name = [ GLOB $(ICU_PATH)/bin : icuuc??.dll ] ; + icudt_name = [ GLOB $(ICU_PATH)/bin : icudt??.dll ] ; + icuin_name = [ GLOB $(ICU_PATH)/bin : icuin??.dll ] ; + icuind_name = [ GLOB $(ICU_PATH)/bin : icuin??d.dll ] ; + + #ECHO $(icuucd_name:B) $(icuuc_name:B) $(icudt_name:B) $(icuin_name:B) $(icuind_name:B) ; + } + + ICU_OPTS = + $(ICU_PATH)/include + icuuc/shared/shared + icudt/shared/shared + icuin/shared/shared + $(ICU_PATH)/bin + BOOST_HAS_ICU=1 + shared + msvc:/delayload:$(icuucd_name:B).dll + msvc:/delayload:$(icuuc_name:B).dll + msvc:/delayload:$(icudt_name:B).dll + msvc:/delayload:$(icuin_name:B).dll + msvc:/delayload:$(icuind_name:B).dll + msvc:delayimp.lib + ; } - ICU_OPTS = - $(ICU_PATH)/include - icuuc/shared/shared - icudt/shared/shared - icuin/shared/shared - $(ICU_PATH)/bin - BOOST_HAS_ICU=1 - shared - msvc:/delayload:$(icuucd_name:B).dll - msvc:/delayload:$(icuuc_name:B).dll - msvc:/delayload:$(icudt_name:B).dll - msvc:/delayload:$(icuin_name:B).dll - msvc:/delayload:$(icuind_name:B).dll - msvc:delayimp.lib - ; } exe has_icu : ./has_icu_test.cpp : $(ICU_OPTS) ; diff --git a/doc/html/boost_regex/background_information.html b/doc/html/boost_regex/background_information.html index 9907bae9..0830591f 100644 --- a/doc/html/boost_regex/background_information.html +++ b/doc/html/boost_regex/background_information.html @@ -47,7 +47,7 @@ -
-
- + Test Programs
@@ -151,7 +151,7 @@ Files: captures_test.cpp.

- + Example programs
@@ -177,7 +177,7 @@ Files: regex_timer.cpp.

- + Code snippets
@@ -261,7 +261,7 @@ -
-
-
-
- + Boost 1.40
@@ -93,7 +93,7 @@ branch resets and recursive regular expressions.
- + Boost 1.38
@@ -121,7 +121,7 @@
- + Boost 1.34
@@ -144,7 +144,7 @@
- + Boost 1.33.1
@@ -214,7 +214,7 @@
- + Boost 1.33.0
@@ -269,7 +269,7 @@
- + Boost 1.32.1
@@ -277,7 +277,7 @@ Fixed bug in partial matches of bounded repeats of '.'.
- + Boost 1.31.0
@@ -315,7 +315,7 @@ -
-
-
-
- + C++

@@ -36,7 +36,7 @@ Report on C++ Library Extensions.

- + ECMAScript / JavaScript
@@ -49,7 +49,7 @@ rather than a Unicode escape sequence; use \x{DDDD} for Unicode escape sequences.

- + Perl

@@ -73,7 +73,7 @@ the Unicode requirements below.

- + POSIX

@@ -93,7 +93,7 @@ a custom traits class.

- + Unicode

@@ -560,7 +560,7 @@ -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- + Synopsis
#include <boost/pattern_except.hpp>
@@ -54,7 +54,7 @@
 } // namespace boost
 
- + Description
regex_error(const std::string& s, regex_constants::error_type err, std::ptrdiff_t pos);
@@ -89,7 +89,7 @@
 
 
-
- + Synopsis
#include <boost/regex.hpp>
@@ -244,7 +244,7 @@
 } // namespace boost
 
- + Description

@@ -327,7 +327,7 @@ basic_regex.

-

Table 1. basic_regex default construction postconditions

+

Table 1. basic_regex default construction postconditions

@@ -407,7 +407,7 @@ flags specified in f.

-

Table 2. Postconditions for basic_regex construction

+

Table 2. Postconditions for basic_regex construction

@@ -512,7 +512,7 @@ specified in f.

-

Table 3. Postconditions for basic_regex construction

+

Table 3. Postconditions for basic_regex construction

@@ -616,7 +616,7 @@ according the option flags specified in f.

-

Table 4. Postconditions for basic_regex construction

+

Table 4. Postconditions for basic_regex construction

@@ -728,7 +728,7 @@ flags specified in f.

-

Table 5. Postconditions for basic_regex construction

+

Table 5. Postconditions for basic_regex construction

@@ -830,7 +830,7 @@ flags specified in f.

-

Table 6. Postconditions for basic_regex construction

+

Table 6. Postconditions for basic_regex construction

@@ -1044,7 +1044,7 @@ in f.

-

Table 7. Postconditions for basic_regex::assign

+

Table 7. Postconditions for basic_regex::assign

@@ -1320,7 +1320,7 @@
-
-
-
-
- + Additional Optional Requirements
@@ -581,7 +581,7 @@ -
-
-
-
-
-
- + Synopsis

@@ -57,7 +57,7 @@ } // namespace boost

- + Description

@@ -257,7 +257,7 @@ -
-
- + Synopsis
#include <boost/regex.hpp>
@@ -167,7 +167,7 @@
          match_results<BidirectionalIterator, Allocator>& m2);
 
- + Description

@@ -866,7 +866,7 @@ -
-
-
-
-
- + u32regex_iterator

@@ -126,7 +126,7 @@ Provided of course that the input is encoded as UTF-8.

- + u32regex_token_iterator

@@ -309,7 +309,7 @@ -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- + sub_match non-member operators
@@ -1009,7 +1009,7 @@ + m2.str().

- + Stream inserter

@@ -1025,7 +1025,7 @@ -
-
-
-
-
-
-
-
-

- + Synopsis

@@ -46,7 +46,7 @@

- + POSIX Extended Syntax

@@ -56,7 +56,7 @@

.[{}()\*+?|^$
- + Wildcard:

@@ -74,7 +74,7 @@

- + Anchors:

@@ -86,7 +86,7 @@ of an expression, or the last character of a sub-expression.

- + Marked sub-expressions:
@@ -98,7 +98,7 @@ to by a back-reference.

- + Repeats:

@@ -184,7 +184,7 @@ cab operator to be applied to.

- + Back references:

@@ -214,7 +214,7 @@ cab

- + Alternation

@@ -227,7 +227,7 @@ cab will match either of "abd" or "abef".

- + Character sets:
@@ -240,7 +240,7 @@ cab A bracket expression may contain any combination of the following:

- + Single characters:
@@ -249,7 +249,7 @@ cab or 'c'.

- + Character ranges:
@@ -265,7 +265,7 @@ cab the code points of the characters only.

- + Negation:

@@ -274,7 +274,7 @@ cab range a-c.

- + Character classes:
@@ -284,7 +284,7 @@ cab character class names.

- + Collating Elements:
@@ -312,7 +312,7 @@ cab matches a NUL character.

- + Equivalence classes:
@@ -329,7 +329,7 @@ cab or even all locales on one platform.

- + Combinations:

@@ -337,7 +337,7 @@ cab [[:digit:]a-c[.NUL.]].

- + Escapes

@@ -363,7 +363,7 @@ cab extensions are also supported by Boost.Regex:

- + Escapes matching a specific character
@@ -552,7 +552,7 @@ cab
- + "Single character" character classes:
@@ -706,7 +706,7 @@ cab
- + Character Properties
@@ -813,7 +813,7 @@ cab matches any "digit" character, as does \p{digit}.

- + Word Boundaries

@@ -888,7 +888,7 @@ cab

- + Buffer boundaries
@@ -979,7 +979,7 @@ cab
- + Continuation Escape
@@ -991,7 +991,7 @@ cab match to start where the last one ended.

- + Quoting escape
@@ -1005,7 +1005,7 @@ cab \*+aaa
- + Unicode escapes
@@ -1056,7 +1056,7 @@ cab
- + Any other escape
@@ -1065,7 +1065,7 @@ cab \@ matches a literal '@'.

- + Operator precedence
@@ -1102,7 +1102,7 @@ cab
- + What Gets Matched
@@ -1112,11 +1112,11 @@ cab rule.

- + Variations

- + Egrep

@@ -1137,7 +1137,7 @@ cab used with the -E option.

- + awk

@@ -1151,7 +1151,7 @@ cab these by default anyway.

- + Options

@@ -1164,7 +1164,7 @@ cab modify how the case and locale sensitivity are to be applied.

- + References

@@ -1185,7 +1185,7 @@ cab -

- + Synopsis

@@ -45,7 +45,7 @@

- + POSIX Basic Syntax

@@ -55,7 +55,7 @@

.[\*^$
- + Wildcard:

@@ -73,7 +73,7 @@

- + Anchors:

@@ -85,7 +85,7 @@ of an expression, or the last character of a sub-expression.

- + Marked sub-expressions:
@@ -97,7 +97,7 @@ by a back-reference.

- + Repeats:

@@ -155,7 +155,7 @@ aaaa to.

- + Back references:

@@ -173,7 +173,7 @@ aaaa

aaabba
- + Character sets:
@@ -186,7 +186,7 @@ aaaa A bracket expression may contain any combination of the following:

- + Single characters:
@@ -195,7 +195,7 @@ aaaa or 'c'.

- + Character ranges:
@@ -211,7 +211,7 @@ aaaa of the characters only.

- + Negation:

@@ -220,7 +220,7 @@ aaaa range a-c.

- + Character classes:
@@ -230,7 +230,7 @@ aaaa character class names.

- + Collating Elements:
@@ -259,7 +259,7 @@ aaaa element names.

- + Equivalence classes:
@@ -276,7 +276,7 @@ aaaa or even all locales on one platform.

- + Combinations:

@@ -284,7 +284,7 @@ aaaa [[:digit:]a-c[.NUL.]].

- + Escapes

@@ -299,7 +299,7 @@ aaaa will match either a literal '\' or a '^'.

- + What Gets Matched

@@ -309,13 +309,13 @@ aaaa rule.

- + Variations

- + Grep

@@ -333,7 +333,7 @@ aaaa As its name suggests, this behavior is consistent with the Unix utility grep.

- + emacs

@@ -613,7 +613,7 @@ aaaa leftmost-longest rule.

- + Options

@@ -627,7 +627,7 @@ aaaa options modify how the case and locale sensitivity are to be applied.

- + References

@@ -646,7 +646,7 @@ aaaa -
-
-
-
-
-
-
-
-

- + Synopsis

@@ -43,7 +43,7 @@ boost::regex e2(my_expression, boost::regex::perl|boost::regex::icase);

- + Perl Regular Expression Syntax

@@ -53,7 +53,7 @@

.[{}()\*+?|^$
- + Wildcard

@@ -73,7 +73,7 @@

- + Anchors

@@ -83,7 +83,7 @@ A '$' character shall match the end of a line.

- + Marked sub-expressions
@@ -94,7 +94,7 @@ can also repeated, or referred to by a back-reference.

- + Non-marking grouping
@@ -107,7 +107,7 @@ without splitting out any separate sub-expressions.

- + Repeats

@@ -188,7 +188,7 @@ to be applied to.

- + Non greedy repeats
@@ -218,7 +218,7 @@ while consuming as little input as possible.

- + Possessive repeats
@@ -250,7 +250,7 @@ while giving nothing back.

- + Back references

@@ -360,7 +360,7 @@ named "two".

- + Alternation

@@ -387,7 +387,7 @@ (?:abc)?? has exactly the same effect.

- + Character sets

@@ -399,7 +399,7 @@ A bracket expression may contain any combination of the following:

- + Single characters

@@ -407,7 +407,7 @@ 'b', or 'c'.

- + Character ranges
@@ -421,7 +421,7 @@ sensitive.

- + Negation

@@ -430,7 +430,7 @@ matches any character that is not in the range a-c.

- + Character classes
@@ -441,7 +441,7 @@ class names.

- + Collating Elements
@@ -463,7 +463,7 @@ matches a \0 character.

- + Equivalence classes
@@ -480,7 +480,7 @@ or even all locales on one platform.

- + Escaped Characters
@@ -492,7 +492,7 @@ is not a "word" character.

- + Combinations

@@ -500,7 +500,7 @@ [[:digit:]a-c[.NUL.]].

- + Escapes

@@ -692,7 +692,7 @@

- + "Single character" character classes:
@@ -894,7 +894,7 @@
- + Character Properties
@@ -1002,7 +1002,7 @@ as does \p{digit}.

- + Word Boundaries

@@ -1021,7 +1021,7 @@ \B Matches only when not at a word boundary.

- + Buffer boundaries

@@ -1048,7 +1048,7 @@ (?=\n?\z).

- + Continuation Escape
@@ -1060,7 +1060,7 @@ one ended.

- + Quoting escape

@@ -1073,7 +1073,7 @@ \*+aaa

- + Unicode escapes

@@ -1083,7 +1083,7 @@ followed by a sequence of zero or more combining characters.

- + Matching Line Endings
@@ -1092,7 +1092,7 @@ sequence, specifically it is identical to the expression (?>\x0D\x0A?|[\x0A-\x0C\x85\x{2028}\x{2029}]).

- + Keeping back some text
@@ -1107,7 +1107,7 @@ This can be used to simulate variable width lookbehind assertions.

- + Any other escape
@@ -1116,7 +1116,7 @@ \@ matches a literal '@'.

- + Perl Extended Patterns
@@ -1125,7 +1125,7 @@ (?.

- + Named Subexpressions
@@ -1147,14 +1147,14 @@ format string for search and replace operations, or in the match_results member functions.

- + Comments

(?# ... ) is treated as a comment, it's contents are ignored.

- + Modifiers

@@ -1168,7 +1168,7 @@ pattern only.

- + Non-marking groups
@@ -1177,7 +1177,7 @@ an additional sub-expression.

- + Branch reset

@@ -1199,7 +1199,7 @@ # 1 2 2 3 2 3 4

- + Lookahead

@@ -1222,7 +1222,7 @@ could be used to validate the password.

- + Lookbehind

@@ -1236,7 +1236,7 @@ (pattern must be of fixed length).

- + Independent sub-expressions
@@ -1249,7 +1249,7 @@ no match is found at all.

- + Recursive Expressions
@@ -1273,7 +1273,7 @@ to the next sub-expression to be declared.

- + Conditional Expressions
@@ -1323,7 +1323,7 @@
- + Operator precedence
@@ -1358,7 +1358,7 @@

- + What gets matched

@@ -1534,7 +1534,7 @@

- + Variations

@@ -1543,7 +1543,7 @@ and JScript are all synonyms for perl.

- + Options

@@ -1555,7 +1555,7 @@ are to be applied.

- + Pattern Modifiers

@@ -1567,7 +1567,7 @@ and no_mod_s.

- + References

@@ -1576,7 +1576,7 @@ -
- + Use a Unicode Aware Regular Expression Type.
@@ -71,7 +71,7 @@ -