Commit Graph

62 Commits

Author SHA1 Message Date
Michael Grady
751473d25a ICU-7813 64bit regex API, 7675: UText-based Regex to use native indexes, 7764: Improved UText-regex API error handling, 7855: UText regex group API returns shallow clone, 7851: Set region and start position, 7763: Inline regex progress callback function.
X-SVN-Rev: 28647
2010-09-18 03:07:17 +00:00
Peter Edberg
7eb5ef037e ICU-7446 Note that UREGEX_LITERAL is unimplemented, and return U_REGEX_UNIMPLEMENTED for it.
X-SVN-Rev: 27718
2010-02-27 03:40:56 +00:00
Peter Edberg
411a93712a ICU-4521 Merge from branch, fixes for 64bit alignment & type conversions
X-SVN-Rev: 27670
2010-02-25 06:33:29 +00:00
Peter Edberg
a6c3b1905e ICU-4521 Fix dangling pointer if a UnicodeString passed to RegexPattern::compile
doesn't persist for the life of the RegexPattern; ensure RegexPattern == still works.

X-SVN-Rev: 27541
2010-02-11 06:57:20 +00:00
Peter Edberg
f308bffc8c ICU-4521 Disambiguate signatures for RegexPattern::matcher,RegexMatcher::group for 0 pointers; fix warnings
X-SVN-Rev: 27522
2010-02-09 20:17:52 +00:00
Michael Grady
8216117f21 ICU-4521 UText-based regex implementation
X-SVN-Rev: 27482
2010-02-03 02:59:35 +00:00
Andy Heninger
20e7751c2c ICU-6998 swat a bunch of compiler warnings.
X-SVN-Rev: 26288
2009-07-10 18:58:35 +00:00
Andy Heninger
49db0e1ead ICU-3491 remove extra calls to u_init(), and simplify the API comments for u_init().
X-SVN-Rev: 26279
2009-07-09 22:50:01 +00:00
George Rhoten
acd8f28273 ICU-6076 Make sure that we objects are fully initialized for deletion, and
that we don't leak memory after an allocation failure.

X-SVN-Rev: 23450
2008-02-17 18:26:39 +00:00
Michael Ow
d4081eab27 ICU-6132 Set the retMatcher's status to the correct error code.
X-SVN-Rev: 23266
2008-01-17 22:57:16 +00:00
Michael Ow
5bdd0a03d1 ICU-6132 Check null pointer allocation and perform appropriate actions in regexst.cpp, remtrans.cpp, and repattrn.cpp.
X-SVN-Rev: 23235
2008-01-14 23:25:13 +00:00
Andy Heninger
67e296e813 ICU-5386 Regular Expressions update, improved Java 1.5 compatibility. svn merge -r 22747:23061 from branches/andy/regex
X-SVN-Rev: 23063
2007-12-11 21:30:10 +00:00
George Rhoten
32416a8a9c ICU-5125 Remove unusable code.
X-SVN-Rev: 19435
2006-03-25 00:15:56 +00:00
George Rhoten
4b8ef3e6e6 ICU-4288 Mostly fixes for --enable-strict for gcc 3.4 (Fedora Core 3)
X-SVN-Rev: 17040
2004-12-30 07:25:51 +00:00
George Rhoten
0da7a95df6 ICU-3905 Fix some compiler warnings
X-SVN-Rev: 16770
2004-11-05 18:18:36 +00:00
Andy Heninger
9f286086d1 ICU-3337 better detect incorrect usage of Regex APIs.
X-SVN-Rev: 16595
2004-10-22 16:32:12 +00:00
George Rhoten
7dd960a8b4 ICU-4078 Loosely couple the cleanup functions.
X-SVN-Rev: 16307
2004-09-12 23:07:29 +00:00
George Rhoten
7c225a89aa ICU-4072 Explicitly use U_EXPORT2 to specify calling convention of static C++ code.
X-SVN-Rev: 16183
2004-08-24 17:38:33 +00:00
Eric Mader
abefef5844 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15411
2004-05-19 20:42:44 +00:00
Andy Heninger
efeb3b480d ICU-2421 Redo Regex C API changes lost in OSS crash
X-SVN-Rev: 14721
2004-03-22 22:16:21 +00:00
Andy Heninger
f21db4aa62 ICU-3423 fix problems in RegexPattern assignment/copy/clone
X-SVN-Rev: 14255
2004-01-08 00:40:59 +00:00
Andy Heninger
3c6b602cee ICU-3437 test coverage fixes, compiler warning fixes.
X-SVN-Rev: 14028
2003-12-06 01:49:56 +00:00
George Rhoten
f3f79d3e26 ICU-3222 Fix some compiler warnings
X-SVN-Rev: 13945
2003-12-02 19:14:26 +00:00
Andy Heninger
d4e4635656 ICU-2468 regexp word boundaries using RBBI
X-SVN-Rev: 13641
2003-11-08 02:01:42 +00:00
George Rhoten
492d57ac79 ICU-3221 Fix AIX linker warnings
X-SVN-Rev: 12997
2003-08-31 20:53:46 +00:00
Andy Heninger
0628ea950a ICU-3014 Revised ICU initialization code
X-SVN-Rev: 12915
2003-08-22 23:26:53 +00:00
George Rhoten
b57ac91414 ICU-2729 Make it easier to hide gStaticSets in the future,
X-SVN-Rev: 12134
2003-05-28 01:42:29 +00:00
Andy Heninger
e5e88aaf89 ICU-2787 Regexp init thread safety; Improvements to u_init()
X-SVN-Rev: 11781
2003-05-02 21:33:17 +00:00
George Rhoten
558be9c95e ICU-2699 Fix some compiler warnings.
X-SVN-Rev: 11586
2003-04-18 21:43:25 +00:00
Andy Heninger
2d83a418a0 ICU-2422 Regexp, more speed optimizations, some cleanup
X-SVN-Rev: 11442
2003-04-02 23:10:16 +00:00
Andy Heninger
2e7a2dd624 ICU-2422 Regexp, more speed optimizations
X-SVN-Rev: 11412
2003-03-28 02:31:17 +00:00
Andy Heninger
a640031201 ICU-2422 Regexp, more speed optimizations
X-SVN-Rev: 11402
2003-03-27 01:25:20 +00:00
Andy Heninger
ec8e5274ba ICU-2422 Regexp, more speed optimizations, work in progress
X-SVN-Rev: 11400
2003-03-26 01:17:16 +00:00
Andy Heninger
4575efb175 ICU-2422 Regexp general cleanup
X-SVN-Rev: 11387
2003-03-24 05:23:07 +00:00
Andy Heninger
c612056f6a ICU-2422 Regexp, general cleanup
X-SVN-Rev: 11375
2003-03-21 00:40:25 +00:00
Andy Heninger
bf35d2da2e ICU-2422 Regexp, optimizing find() operations, work in progress.
X-SVN-Rev: 11349
2003-03-18 01:51:36 +00:00
Andy Heninger
fef34e930e ICU-2422 Regexp, optimizing find() operations, work in progress.
X-SVN-Rev: 11290
2003-03-13 01:56:01 +00:00
Andy Heninger
f5fa67bfe3 ICU-2422 Regexp, optimizing find() operations, work in progress.
X-SVN-Rev: 11250
2003-03-06 01:57:52 +00:00
Andy Heninger
ae14297881 ICU-2422 look-behind ops implementation finished.
X-SVN-Rev: 11212
2003-03-02 19:11:09 +00:00
Andy Heninger
2d3301b7f9 ICU-2422 look-behind op, plus some optimizations, work-in-progress.
X-SVN-Rev: 11168
2003-02-26 05:16:49 +00:00
Andy Heninger
14da9b81e3 ICU-2422 regexp, free-format support added, some match mode bugs fixed
X-SVN-Rev: 11035
2003-02-13 01:10:22 +00:00
Andy Heninger
2397658197 ICU-2422 regexp, match flag setting options added.
X-SVN-Rev: 11032
2003-02-12 01:28:01 +00:00
Andy Heninger
483da7c7df ICU-2422 regexp, case insensitive matching, work in progress
X-SVN-Rev: 11013
2003-02-11 01:17:51 +00:00
Andy Heninger
7f44eb19cf ICU-2422 regexp, case insensitive matching, work in progress
X-SVN-Rev: 10989
2003-02-07 02:04:14 +00:00
Andy Heninger
41e90b5773 ICU-2422 regexp, fix a number of bugs uncovered by perl regexp tests. Some still remain.
X-SVN-Rev: 10905
2003-01-25 18:57:42 +00:00
Andy Heninger
50a1da1f2b ICU-2422 regexp, atomic paretheses added, but still buggy
X-SVN-Rev: 10865
2003-01-17 01:43:54 +00:00
Andy Heninger
01147100bd ICU-2422 regexp, {min,max} quantifiers added.
X-SVN-Rev: 10859
2003-01-16 01:12:04 +00:00
Andy Heninger
9c23e724ee ICU-2420 regexp perf, replace use of UVector, UnicodeString in execution engine
X-SVN-Rev: 10824
2003-01-08 23:38:23 +00:00
George Rhoten
efb3f15da0 ICU-2135 Make more data const.
X-SVN-Rev: 10712
2002-12-18 01:23:47 +00:00
Andy Heninger
00da27677a ICU-105 Regular Expressions, improved formatting of debug output.
X-SVN-Rev: 10306
2002-11-20 23:30:20 +00:00