Commit Graph

135 Commits

Author SHA1 Message Date
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
John Emmons
b932e68f4f ICU-4521 Fix ambiguous argument
X-SVN-Rev: 27510
2010-02-08 17:50:41 +00:00
Michael Grady
8216117f21 ICU-4521 UText-based regex implementation
X-SVN-Rev: 27482
2010-02-03 02:59:35 +00:00
David Bertoni
9ea0a3d95d ICU-6149 Fixed typos in comments.
X-SVN-Rev: 24285
2008-06-25 00:42:29 +00:00
George Rhoten
fe7e42eace ICU-6149 Use traditional ICU C callback declarations.
X-SVN-Rev: 23481
2008-02-25 21:21:47 +00:00
Andy Heninger
5e550c04ac ICU-6149 Merge regexp resource limit functions into the trunk
X-SVN-Rev: 23467
2008-02-20 03:08:44 +00:00
Yoshito Umaoka
b2d926052e ICU-5386 Fix a compilation problem in the previous revision - changed int to int32_t.
X-SVN-Rev: 23084
2007-12-14 03:53:20 +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
Andy Heninger
2d8fa82c26 ICU-5617 Update set of characters that are ignored for the purposes of finding word boundaries, for simple (not UAX 29) \b boundaries.
X-SVN-Rev: 21973
2007-07-13 22:12:31 +00:00
George Rhoten
ac329166b4 ICU-5427 Reduce regex static memory consumption by 35%
X-SVN-Rev: 21805
2007-06-22 01:06:31 +00:00
George Rhoten
2f55b1b39f ICU-5410 Improve code coverage by removing unused/unuseable code.
X-SVN-Rev: 21693
2007-06-11 17:37:31 +00:00
George Rhoten
f9e6f15721 ICU-4733 Use int32_t instead of int.
X-SVN-Rev: 18462
2005-08-25 18:02:20 +00:00
Andy Heninger
dcf498d172 ICU-4703 beam compile warning fixes
X-SVN-Rev: 18385
2005-08-02 21:51:56 +00:00
Andy Heninger
1bea558cb2 ICU-4474 add \u000b as a newline in regex matching
X-SVN-Rev: 17933
2005-06-17 00:42:54 +00:00
Andy Heninger
1f42f071fc ICU-4057 incorrect regex appendReplacement after multiple find()s.
X-SVN-Rev: 16601
2004-10-22 22:51:02 +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
Andy Heninger
e04ddd2239 ICU-4086 regex match/lookingAt/find at end of string with zero length match not working.
X-SVN-Rev: 16328
2004-09-15 01:28:15 +00:00
Andy Heninger
2a22e946ca ICU-4030 regexp replacement strings indexing error when containing \uxxxx escapes
X-SVN-Rev: 16120
2004-08-06 00:46:28 +00:00
Andy Heninger
bfe75d588f ICU-4046 regexp::find(), CR not recognized as line separator in some cases.
X-SVN-Rev: 16118
2004-08-05 22:48:05 +00:00
Andy Heninger
6b4f353fe4 ICU-4045 regexp::find(), fix incorrect resut when called repeatedly at end of input string.
X-SVN-Rev: 16115
2004-08-05 19:00:37 +00:00
Andy Heninger
a13646fb43 ICU-4024 fix new line handling bugs in regexp
X-SVN-Rev: 16112
2004-08-05 00:24:36 +00:00
Andy Heninger
1b339e97db ICU-4024 fix new line handling bugs in regexp
X-SVN-Rev: 16104
2004-08-04 04:47:18 +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
db9aaf89f0 ICU-3436 regex find() now moves start position forward after zero-length matches to avoid loops
X-SVN-Rev: 14245
2004-01-07 00:03:46 +00:00
Eric Mader
078c13a236 ICU-3476 fix memory allocation problems.
X-SVN-Rev: 14211
2003-12-23 18:10:11 +00:00
Andy Heninger
3d14de00e4 ICU-3445 UCONFIG_NO_BREAK_ITERATION changes to Regexp
X-SVN-Rev: 14055
2003-12-09 19:12:16 +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
Andy Heninger
2660646337 ICU-3437 test coverage fixes.
X-SVN-Rev: 14016
2003-12-05 02:03:13 +00:00
Andy Heninger
d7b1c9d7a1 ICU-2468 regexp \b word boundaries match Unicode TR definition.
X-SVN-Rev: 13978
2003-12-03 22:21:14 +00:00
Andy Heninger
d4e4635656 ICU-2468 regexp word boundaries using RBBI
X-SVN-Rev: 13641
2003-11-08 02:01:42 +00:00
Andy Heninger
14325e430b ICU-2925 API extensions, work in process.
X-SVN-Rev: 13491
2003-10-25 00:52:03 +00:00
George Rhoten
492d57ac79 ICU-3221 Fix AIX linker warnings
X-SVN-Rev: 12997
2003-08-31 20:53:46 +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
16b5b797a3 ICU-2917 bad grapheme cluster matching with some Hangul syllables.
X-SVN-Rev: 12113
2003-05-27 03:03:47 +00:00
Andy Heninger
862039beb5 ICU-2902 regexp code review changes.
X-SVN-Rev: 12066
2003-05-23 01:33:52 +00:00
Andy Heninger
615e84ebe0 ICU-2902 regex, matches with no input behave as if input was an empty string
Change requested in code review.

X-SVN-Rev: 12045
2003-05-22 00:51:23 +00:00
George Rhoten
5cc89c0134 ICU-2628 Don't delete const objects on z/OS
X-SVN-Rev: 11713
2003-04-25 23:38:20 +00:00
Andy Heninger
cf5d222f79 ICU-2422 Regexp, fix bug causing intermittent intltest failures
X-SVN-Rev: 11447
2003-04-03 19:27:14 +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
a472ee5d63 ICU-2422 Regexp general cleanup
X-SVN-Rev: 11372
2003-03-20 21:34:34 +00:00
Andy Heninger
f6d9573913 ICU-2422 Regexp, general cleanup
X-SVN-Rev: 11366
2003-03-20 01:15:10 +00:00
Andy Heninger
f0e3f3d714 ICU-2422 Regexp, optimizing find() operations
X-SVN-Rev: 11354
2003-03-19 01:57:23 +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
e2ac4bbeb6 ICU-2422 Regexp find() optimizations, work in progress
X-SVN-Rev: 11334
2003-03-17 06:51:57 +00:00
Andy Heninger
6ed78276e1 ICU-2422 Regexp, optimizing find() operations, work in progress.
X-SVN-Rev: 11310
2003-03-14 02:01:17 +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
d31f8de161 ICU-2422 regexp, \X does grapheme clusters
X-SVN-Rev: 11071
2003-02-16 07:24:55 +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
5522a8521c ICU-2422 regex test reorg, improved debug options
X-SVN-Rev: 10979
2003-02-06 01:55:17 +00:00
Andy Heninger
6415f52007 ICU-2422 regexp tests, work in progress.
X-SVN-Rev: 10961
2003-02-05 06:50:32 +00:00
Andy Heninger
fc1f59a88d ICU-2422 fixed g++ compilation problem in regexcmp, got some other work in progress as well.
X-SVN-Rev: 10949
2003-02-04 00:36:30 +00:00
Andy Heninger
61b188cc37 ICU-2422 regexp, Look-ahead ops added. Bug in caching input
string in Matcher fixed.

X-SVN-Rev: 10938
2003-01-31 02:00:52 +00:00
Andy Heninger
6696782926 ICU-2422 regexp, back out nested capture group hack. The failing test is
either a bug or a really odd specification in Perl.
Clean up test memory leaks.

X-SVN-Rev: 10923
2003-01-29 01:40:59 +00:00
Andy Heninger
b0155515f7 ICU-2422 regexp, more perl test fixes.
X-SVN-Rev: 10921
2003-01-28 23:44:22 +00:00
Andy Heninger
3c3f0df9bc ICU-2422 regexp, more fixes to and for the Perl tests.
X-SVN-Rev: 10906
2003-01-27 00:33:43 +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
a92820c54b ICU-2422 regexp, tests from perl, and some bug fixes
X-SVN-Rev: 10901
2003-01-24 02:05:03 +00:00
Andy Heninger
be325be26c ICU-2422 regexp, remove some debugging code that was accidently left in
X-SVN-Rev: 10890
2003-01-22 19:19:36 +00:00
Andy Heninger
a868ba8a94 ICU-2422 add back references
X-SVN-Rev: 10878
2003-01-21 04:56:14 +00:00
Andy Heninger
8501288a1e ICU-2422 add possessive quantifiers
X-SVN-Rev: 10869
2003-01-20 06:25:23 +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
Andy Heninger
b029ea78a7 ICU-105 Regular Expressions, Add tests for improved API code coverage
X-SVN-Rev: 10308
2002-11-21 00:49:52 +00:00
Andy Heninger
24bf088281 ICU-105 Regular Expressions, changes from code review
X-SVN-Rev: 10294
2002-11-19 19:31:03 +00:00
Andy Heninger
fa1b944f9f ICU-105 Regular Expressions, ongoing development
X-SVN-Rev: 10258
2002-11-14 18:27:00 +00:00
Andy Heninger
f54596b532 ICU-105 Regular Expressions, API docs updated
X-SVN-Rev: 10231
2002-11-13 02:28:04 +00:00
Andy Heninger
2d39fda4e3 ICU-105 Regular Expressions, ongoing development
X-SVN-Rev: 10180
2002-11-07 02:34:46 +00:00
Andy Heninger
96ec073b83 ICU-105 Regular Expressions, ongoing development
X-SVN-Rev: 10157
2002-11-06 02:35:20 +00:00
Andy Heninger
14b065ca9d ICU-105 Regular Expressions, ongoing development
X-SVN-Rev: 10146
2002-11-04 19:09:35 +00:00
Andy Heninger
9600c27c58 ICU-105 Regular Expressions, ongoing development
X-SVN-Rev: 10135
2002-10-31 23:01:54 +00:00
Andy Heninger
ccd8fc3536 ICU-105 Regular Expressions, ongoing development
X-SVN-Rev: 10132
2002-10-31 01:58:01 +00:00
Andy Heninger
00767a816c ICU-105 Regular Expressions, ongoing development
X-SVN-Rev: 10069
2002-10-28 17:18:44 +00:00
Andy Heninger
425ac49187 ICU-105 Regular Expressions, ongoing development
X-SVN-Rev: 10063
2002-10-24 22:16:07 +00:00
Andy Heninger
6bd8583607 ICU-105 Regular Expressions initial check in
X-SVN-Rev: 10051
2002-10-23 01:14:17 +00:00
Andy Heninger
11891ab0d8 ICU-105 Regular Expressions initial check in
X-SVN-Rev: 10050
2002-10-22 00:09:32 +00:00