jzmaddock
5e982204f7
Add some missing #includes.
2020-12-11 13:08:38 +00:00
jzmaddock
957dc5b79c
Remove a lot of boost dependencies and workarounds.
2020-12-01 18:57:42 +00:00
jzmaddock
49e8067b80
Make the contents of regex.hpp all inline.
2020-11-29 19:10:05 +00:00
jzmaddock
c9d389014a
Make w32_regex_traits.hpp header only.
2020-11-28 16:51:39 +00:00
jzmaddock
082437d4fd
Merge branch 'develop' into staticptrfix
2020-01-07 19:00:38 +00:00
Reimar Döffinger
3168641320
Avoid generating pointers in writeable data section.
...
They increase memory consumption and make exploits
easier and are completely unnecessary.
Avoid them by either avoiding the pointer indirection
completely by using char arrays for strings instead
of char pointers, convert "static" pointer variables
to simple local variables, or mark the array of
pointers as const instead of just the things pointed to.
2019-11-08 11:18:43 +01:00
Reimar Döffinger
0baf08108f
Minor spelling fix.
2019-11-05 22:25:11 +01:00
jzmaddock
7b2ccc0095
Tentative fix for msvc warnings.
...
See https://github.com/boostorg/regex/issues/61 .
Adds warning test case.
2018-07-22 17:16:21 +01:00
jzmaddock
2517588955
Fix \R when no_escapes_in_list flag is set.
...
Fixes: https://github.com/boostorg/regex/issues/57
2018-07-22 11:26:33 +01:00
jzmaddock
881a157243
Regex: Fix integer overflow in expression parsing.
...
See: https://oss-fuzz.com/v2/testcase-detail/6189682419302400?noredirect=1
2017-10-07 09:47:19 +01:00
jzmaddock
a32e0cc9d3
Fix pattern escaping in regex used for \R so it works when the x-modifier is in effect.
...
Fixes: https://svn.boost.org/trac10/ticket/12960
2017-08-03 18:04:41 +01:00
jzmaddock
955d077d2b
Allow types wider than int in \x{} expressions (for char32_t etc).
...
Fixes: https://svn.boost.org/trac/boost/ticket/11988 .
2016-02-17 18:58:05 +00:00
jzmaddock
f617c73e9a
Fix some GCC and clang warnings introduced by the new code
2015-10-06 12:46:09 +01:00
jzmaddock
94c7d4a38a
Fix start of extended character range.
...
See https://svn.boost.org/trac/boost/ticket/11524
2015-09-24 19:01:44 +01:00
jzmaddock
6ffcc5ede0
Change detail namespace.
...
Big search and replace to change name of internal namepace so it's mangled with the Boost version number - the aim is to reduce the chances of mixing different header and library versions.
2015-04-04 19:10:37 +01:00
John Maddock
1f24ceed4c
Add some casts to suppress GCC warnings.
...
[SVN r82662]
2013-01-28 19:19:56 +00:00
John Maddock
ff4eaacbc4
Symbian patches.
...
Fixes #3764 .
Fixes #3763 .
[SVN r58342]
2009-12-13 11:40:28 +00:00
John Maddock
6e1f3dcceb
Improved error messages generated for thrown exceptions.
...
Suppressed "gcc -Wall -Wextra -pedantic" and "msvc /W4" warnings.
Updated and rebuilt docs.
[SVN r57451]
2009-11-07 15:32:45 +00:00
John Maddock
944a01f39e
GCC warning suppression fixes.
...
Fixes #3071 .
[SVN r53274]
2009-05-26 08:31:23 +00:00
John Maddock
55d979060c
Add support for named sub-expressions.
...
[SVN r52823]
2009-05-07 09:46:51 +00:00
John Maddock
30941e330d
Added support for \g \K and \R.
...
[SVN r52592]
2009-04-25 17:32:49 +00:00
John Maddock
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
John Maddock
d70f98e658
Fixes #2306 .
...
Change "id" to "state_id".
[SVN r48751]
2008-09-12 12:40:23 +00:00
John Maddock
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
John Maddock
8ad427474b
Remove and update aCC/HPUX fixes.
...
Fix regex bug report: some repeats match when they should not.
Added test case.
[SVN r35262]
2006-09-21 18:30:27 +00:00
John Maddock
d4b4f359e5
Fix -analyse errors from VC8.
...
Merge a couple of changes from the release branch.
[SVN r31987]
2005-12-11 17:33:38 +00:00
John Maddock
c2de12f113
Disable features that HP aCC can't cope with (gets basic regression tests passing with aCC).
...
[SVN r29032]
2005-05-18 11:44:12 +00:00
John Maddock
9ca851d01f
Fix function calling conventions (Borland C++ fix).
...
[SVN r28949]
2005-05-16 09:57:26 +00:00
John Maddock
28285007cc
Fixes for compaq C++
...
[SVN r28931]
2005-05-15 16:14:47 +00:00
John Maddock
0ae6fb5796
Changed checks to avoid "pointless comparison" warnings.
...
Change preprocessor code to not use WCHAR_MAX on OSL (Tru64) systems (it's definition is not preprocessor friendly on gcc).
[SVN r28892]
2005-05-14 11:49:50 +00:00
John Maddock
90560a3278
Added workaround for old EDG based compilers (SGI cxx compiler).
...
[SVN r28518]
2005-04-28 16:31:39 +00:00
John Maddock
d7e194585d
More std::distance fixes for Sunpro.
...
Changed Dr John Maddock to John Maddock.
[SVN r26791]
2005-01-21 17:22:39 +00:00
John Maddock
434f3589a5
Added MWCW fix.
...
[SVN r26695]
2005-01-14 11:10:22 +00:00
John Maddock
71a0e020e2
merged changes in regex5 branch
...
[SVN r26692]
2005-01-13 17:06:21 +00:00