Commit Graph

206 Commits

Author SHA1 Message Date
5d1f265345 Moved new #include to central location with the rest of the includes.
[SVN r28273]
2005-04-15 15:39:26 +00:00
506cd316b2 add #include <algorithm> because we use std::swap()
[SVN r28249]
2005-04-14 15:50:22 +00:00
21c368964f Removed dead file (it's been moved to boost/regex/pending).
[SVN r27949]
2005-04-04 10:13:30 +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
7c5e1f05c4 Added fix for compilers without <locale>.
[SVN r27515]
2005-02-28 10:54:12 +00:00
31370cd498 Updated concepts to match the TR.
[SVN r27472]
2005-02-21 12:27:23 +00:00
ecd5dd5ff3 Allow sort keys to contain nothing but a single NUL character (characters may be ignorable).
[SVN r27408]
2005-02-17 12:44:16 +00:00
2ee7ef601c include needed <iostream>
[SVN r27272]
2005-02-09 13:15:27 +00:00
dbb39f3589 Changed assert code to try and clear up a mysterious sunpro problem.
[SVN r26958]
2005-01-31 11:06:54 +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
e874d7710b Rewritten format method, to avoid ambiguous function call.
[SVN r26760]
2005-01-20 11:10:44 +00:00
b7cb69bae3 Removed one dead file.
Changed legacy referernces to reg_expression to basic_regex


[SVN r26739]
2005-01-19 13:28:57 +00:00
8545aeb1f3 Fixed primary equivalence classes, so that delimiter based sort keys with a delim in position 0 still work.
[SVN r26738]
2005-01-19 11:13:53 +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
c8c4c1c289 Fix for libstdc++ debug mode assertions: singular iterators can not be copied, so insertion into a container requires extra special care.
[SVN r26718]
2005-01-17 16:56:14 +00:00
c2db73aec7 Cleaned up non-standard behaviour in traits classes.
Suppressed explicit instantiations for older Intel versions.
Added std::distance workaround for Sunpro.


[SVN r26716]
2005-01-17 12:10:48 +00:00
1e48609cfd Patches for MWCW and gcc-4.0.
[SVN r26704]
2005-01-15 11:23:46 +00:00
434f3589a5 Added MWCW fix.
[SVN r26695]
2005-01-14 11:10:22 +00:00
71a0e020e2 merged changes in regex5 branch
[SVN r26692]
2005-01-13 17:06:21 +00:00
de0ab9092a Fix for .{n,} failing in partial matches.
Fix for [\x0-\xff] failing in wide character expressions.


[SVN r26566]
2004-12-21 17:07:46 +00:00
ab6f20486b Fix problem with match_any and POSIX-style matches (match results structure wasn't getting filled in).
Fixed problem with gcc in -pedantic mode.


[SVN r26348]
2004-11-29 13:50:17 +00:00
e2c97fbb13 Enable auto-linking for compilers other than MSVC.
[SVN r26147]
2004-11-08 12:24:18 +00:00
bc140f1948 Added fix to ensure that expressions prefixed with \` do not scan through the text unnecessarily.
[SVN r25625]
2004-10-08 12:45:31 +00:00
ad21d2cb2f Stamped on more C++ style comments in C compatible code.
[SVN r25472]
2004-09-29 10:22:04 +00:00
396136146f Cleaned up comments to make regex.h C compatible.
[SVN r25414]
2004-09-26 10:25:31 +00:00
138d526839 Made config header C compatible.
Added mingw dll specific fix.


[SVN r25269]
2004-09-20 12:28:37 +00:00
5dfe10a136 Fix for RW STL: undef wchar symbols before use
[SVN r25191]
2004-09-18 10:32:05 +00:00
b0a325cf65 Fix: re-used match_results structure didn't set size correctly.
[SVN r24744]
2004-08-26 10:41:49 +00:00
54be0eaa9d VC6-specific fixes for wide character convenience functions.
[SVN r24600]
2004-08-19 15:29:21 +00:00
276fa31266 Fix signature to operator!=
[SVN r24499]
2004-08-16 11:22:52 +00:00
7043e5585f Ooops, last fix had a misplaced "typename" in it, and therefore was not legal code, strangely some compilers just didn't care.
[SVN r23831]
2004-07-20 10:38:44 +00:00
ee631c02eb Need to make string_out_iterator a "real" iterator type to keep commeau compiler happy.
[SVN r23722]
2004-07-18 10:20:56 +00:00
6c02074270 More aCC portability fixes.
[SVN r23145]
2004-06-22 12:34:04 +00:00
ca44c8182c Fixed bug with grepping for literals.
Added Sunpro workaround.


[SVN r23093]
2004-06-12 10:10:07 +00:00
ba148bae42 64-bit portability fix
[SVN r23065]
2004-06-09 12:12:42 +00:00
9424952e8f Added workarounds for Sunpro and HP aCC
[SVN r23032]
2004-06-05 11:46:45 +00:00
c3f14400b0 Moved detail/allocator.hpp into regex directory.
[SVN r22967]
2004-05-28 12:21:44 +00:00
55a6787950 Altered initialiser order to stop gcc from complaining.
[SVN r22876]
2004-05-20 10:16:09 +00:00
25e51d3984 Patch for nosubs flag bug.
[SVN r22821]
2004-05-14 10:27:13 +00:00
6382470ac1 Fixed \l and \u so that they work correctly in case insensitive mode.
[SVN r22804]
2004-05-12 11:39:28 +00:00
1dc081e1c2 Fixed problem with wide character optimisations, changed asserts on pointers (HP-specific workaround).
[SVN r22721]
2004-05-03 11:24:58 +00:00
76176b302b Don't optimise leading repeats when there are backreferences involved.
[SVN r22705]
2004-04-25 10:32:09 +00:00
e3aacc5c55 Fixes for POSIX regexes not grepping correctly.
[SVN r22623]
2004-04-09 15:55:32 +00:00
dc90d07749 Added fix for grepping for POSIX style matches.
[SVN r22621]
2004-04-07 11:04:06 +00:00
0633ba70f2 Added missing typedefs
[SVN r22505]
2004-03-16 17:36:15 +00:00
b8eab985e5 Added support for perl style \u \U \l \L etc in formatting.
[SVN r22486]
2004-03-12 13:12:33 +00:00
89515b9a8e Fixed nasty non-greedy repeat bug,
tidied up min/max workarounds,
removed unneeded #if


[SVN r22422]
2004-03-02 16:58:50 +00:00
3075aaba4a remove minmax hack from win32.hpp and fix all places that could be affected by the minmax macros
[SVN r22394]
2004-02-26 18:27:02 +00:00
50b8204753 Updated iterator defs.
[SVN r22387]
2004-02-25 12:36:45 +00:00
6cbda47155 Added last minute patch for .*?$ failing in the non-recursive algorithm.
[SVN r21525]
2004-01-07 12:00:51 +00:00