Commit Graph

27 Commits

Author SHA1 Message Date
aa16fa7fa1 Added Perl-5.10 "branch reset" support.
[SVN r52961]
2009-05-13 09:17:36 +00:00
55d979060c Add support for named sub-expressions.
[SVN r52823]
2009-05-07 09:46:51 +00:00
30941e330d Added support for \g \K and \R.
[SVN r52592]
2009-04-25 17:32:49 +00:00
7b10b5dac5 Added possessive modifiers ++ *+ ?+ {}+.
Added support for \v and \h as character classes as per Perl-5.10. 

[SVN r52558]
2009-04-23 09:51:31 +00:00
15d3eb8f57 Workarounds to allow compilation by Sun studio without the -library=stlport4 option.
[SVN r51221]
2009-02-12 18:11:43 +00:00
840a4ce2f5 Fix gcc warnings.
[SVN r50377]
2008-12-24 10:14:55 +00:00
e4b31ea37f Empty expressions, and empty alternatives are now
allowed when using the Perl regular expression syntax.  This change has
been added for Perl compatibility, when the new [syntax_option_type]
['no_empty_expressions] is set then the old behaviour is preserved and
empty expressions are prohibited.  This is issue
[@https://svn.boost.org/trac/boost/ticket/1081 #1081].

Fixes #1081.

[SVN r50374]
2008-12-23 19:06:04 +00:00
b4152cd74d Fix gcc warnings from ICU wrappers.
Add optional support for marked sub-expression location information.
Add support for ${n} in format replacement text.
Fixes #2556.
Fixes #2269.
Fixes #2514.

[SVN r50370]
2008-12-23 11:46:00 +00:00
299086b99c Fix bugs reported by Will Drewry: certain invalid regexes can cause the library to access invalid memory, changed to ensure that the correct exception is thrown long before this happens.
[SVN r42674]
2008-01-11 09:55:43 +00:00
4a147d198d Fixes track issue #775, see http://svn.boost.org/trac/boost/ticket/775.
All regex code should now compile warning free at level 4 with MSCV.

[SVN r38864]
2007-08-23 09:06:24 +00:00
e7b65221d1 Tidied up msvc-warning suppression code.
[SVN r38562]
2007-08-10 10:11:03 +00:00
2a87146c18 Fix for grep and egrep syntax types, plus tests.
[SVN r36470]
2006-12-20 17:19:25 +00:00
975b05d553 stripped tabs from files
[SVN r34559]
2006-07-16 16:05:13 +00:00
10a3b70df1 suppress gcc -Wshadow warnings.
[SVN r33426]
2006-03-21 18:36:44 +00:00
2635121cc8 Stop calling std::list<>::size(), it's not O(1).
Suppress MSVC warning.
Fix error code for bad repeat range.


[SVN r31833]
2005-11-30 13:56:54 +00:00
8a06157b46 Added patches from 1.33 branch:
Fix trailing - in ranges so that [a-b-] works.
Fix performance issue: don't call std::distance on bidirectional iterators.


[SVN r31533]
2005-11-01 18:06:19 +00:00
ffa362ce17 Consolidated patches and performance tweeks.
[SVN r31492]
2005-10-27 10:24:50 +00:00
b5bc6e2be9 Enabled negated character classes inside character sets.
[SVN r31053]
2005-09-20 12:01:25 +00:00
40b7a4902f Fixed remaining zero-width assertion issues.
Added separate file instantiation of ICU support templates.
Ensured code is STLport debug mode clean.


[SVN r30980]
2005-09-14 12:20:41 +00:00
1991c202ed Remove dead files.
Strip tabs from files.
Fix MSVC-specific workaround that doesn't work on Win64.


[SVN r30002]
2005-07-12 09:49:21 +00:00
f353225685 Fix gcc warnings, and use the correct facet!
[SVN r29831]
2005-06-28 15:31:33 +00:00
9a3fee10dd Suppress warnings when exceptions are turned off on gcc.
[SVN r28822]
2005-05-11 14:29:53 +00:00
774981bb52 Must check numeric_limits<charT>::is_specialized before using other members!
[SVN r28527]
2005-04-29 15:04:06 +00:00
de28eb9b18 1) Disabled recursive implementation for VC8: stack overflows can't be reliably detected unless the whole program is compiled with asynchronous exceptions.
2) Changed std::copy calls on VC8 to avoid "dangerous code" warnings.
3) Moved backreference and octal escape code into line with POSIX-extended requirements.
4) Changed match_results leftmost-longest rules to stop unnecessary std::distance computations (an optimisation for non-random access iterators).
5) Changed C lib calls to use "safe" versions of string API's where available.
6) Added many new POSIX-extended leftmost-longest tests, to verify the above.


[SVN r27880]
2005-03-30 11:38:51 +00:00
d7e194585d More std::distance fixes for Sunpro.
Changed Dr John Maddock to John Maddock.


[SVN r26791]
2005-01-21 17:22:39 +00:00
2a248d1f87 Changed assert's to BOOST_ASSERT's.
Made array sizes explicit to fix MWCW problems.


[SVN r26723]
2005-01-18 12:52:40 +00:00
71a0e020e2 merged changes in regex5 branch
[SVN r26692]
2005-01-13 17:06:21 +00:00