Commit Graph

136 Commits

Author SHA1 Message Date
Andy Heninger
d96fea9eb6 ICU-11123 promote RegexMatcher::find(UErrorCode &) to public API
X-SVN-Rev: 37073
2015-02-26 02:34:20 +00:00
Andy Heninger
ec3f77f878 ICU-5312 Regular Expressions Named Capture.
X-SVN-Rev: 37040
2015-02-18 23:56:19 +00:00
Andy Heninger
22c8c94d14 ICU-11469 Regular Expressions, remove old tech preview functions.
X-SVN-Rev: 36953
2015-01-14 00:03:29 +00:00
Andy Heninger
63758dca88 ICU-11371 Improved checking of regular expression pattern size limits.
X-SVN-Rev: 36801
2014-12-02 21:58:18 +00:00
Andy Heninger
f9c67eb71e ICU-11374 Regular Expression, improve checking of integer overflow.
X-SVN-Rev: 36790
2014-12-02 01:32:49 +00:00
Steven R. Loomis
7594250cc5 ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Andy Heninger
f2dfa7422e ICU-10815 Fix for uregex_findNext() not setting U_REGEX_STOPPED_BY_CALLER
X-SVN-Rev: 36260
2014-08-28 01:19:29 +00:00
Andy Heninger
1ba1ec3b83 ICU-11049 regular expressions, use same logic in UText and (UChar *) code paths when checking limit of potential match start positions.
X-SVN-Rev: 36161
2014-08-14 17:44:05 +00:00
Andy Heninger
e03585d7cf ICU-11049 fix regex find() memory overrun.
X-SVN-Rev: 36124
2014-08-06 21:49:08 +00:00
Andy Heninger
a45f7faf63 ICU-10835 Improve performance of case insensitive find operations.
X-SVN-Rev: 35683
2014-05-02 22:51:53 +00:00
Michael Ow
3daf54af40 ICU-10740 Fix uconfig test errors
X-SVN-Rev: 35480
2014-03-15 06:08:42 +00:00
Andy Heninger
10dd7ed47b ICU-10463 Regular Expressions, rework debug conditionals to fix build failures on clang, and to somewhat simplify.
X-SVN-Rev: 34565
2013-10-14 22:11:21 +00:00
Andy Heninger
045919648e ICU-10459 Fix segfault in uregex_group() when match is in invalid state.
X-SVN-Rev: 34559
2013-10-11 20:59:39 +00:00
Michael Ow
4835d5705a ICU-10398 Ensure cintltst and intltest passes without data
X-SVN-Rev: 34398
2013-09-19 02:32:57 +00:00
Andy Heninger
20016a58db ICU-9719 Regular Expressions, add loop breaking to unbounded {min, max} loops.
X-SVN-Rev: 33848
2013-06-26 00:27:11 +00:00
George Rhoten
865333dd77 ICU-9457 Fix some compiler warnings.
X-SVN-Rev: 32111
2012-08-05 16:33:16 +00:00
Andy Heninger
b916fcb50b ICU-9283 fix for look-behind assertions w/ case insensitive matching.
X-SVN-Rev: 31782
2012-04-27 21:29:34 +00:00
Yoshito Umaoka
b36054b80b ICU-9139 Fix non-ASCII characters in regextst.cpp
X-SVN-Rev: 31540
2012-02-29 16:51:39 +00:00
Andy Heninger
c74df646b7 ICU-6947 implement UREGEX_LITERAL flag.
X-SVN-Rev: 31398
2012-02-15 01:30:55 +00:00
Andy Heninger
da5380d926 ICU-8123 Remove utext comparison functions.
X-SVN-Rev: 31277
2012-01-31 01:14:41 +00:00
Andy Heninger
b8315ecf6a ICU-8826 Regex case insensitive match fixes; also fixes #6074, hitEnd() sometimes fails.
X-SVN-Rev: 31233
2012-01-20 00:50:02 +00:00
Steven R. Loomis
20934ac953 ICU-8861 merge r30809 cleanup from #8755
X-SVN-Rev: 30814
2011-10-12 20:08:09 +00:00
Steven R. Loomis
737d129645 ICU-8784 commit iSeries porting fixes into trunk
X-SVN-Rev: 30667
2011-09-15 19:34:17 +00:00
Michael Ow
310c23c24e ICU-8578 Apply patch to fix some compiler warnings and related issues
X-SVN-Rev: 30205
2011-06-10 18:56:08 +00:00
Steven R. Loomis
61bdf314c6 ICU-8350 terminate the buffer.
X-SVN-Rev: 29989
2011-05-03 19:48:42 +00:00
Steven R. Loomis
64a323a8e2 ICU-8350 fix another asciism
X-SVN-Rev: 29987
2011-05-03 18:16:18 +00:00
Andy Heninger
2861a47a86 ICU-7029 Add test case for this ticket.
X-SVN-Rev: 29846
2011-04-21 23:19:40 +00:00
Andy Heninger
f777c14042 ICU-8444 Remove PATTERN_IS_UTEXT from regex API.
X-SVN-Rev: 29845
2011-04-21 22:57:19 +00:00
Andy Heninger
118efa19c6 ICU-8486 UText not checking for Bogus UnicodeStrings, causing crash in regular expressions.
X-SVN-Rev: 29840
2011-04-21 00:07:50 +00:00
Andy Heninger
8148726df2 ICU-8404 Regular Expressions split(), fix incorrect handling of trailing empty field
X-SVN-Rev: 29801
2011-04-15 00:48:39 +00:00
Michael Ow
4ff56e0dd5 ICU-8398 Log data errors where appropriate so ensure cintltst and intltest passes without data in 4.7.1
X-SVN-Rev: 29529
2011-03-03 19:29:57 +00:00
Andy Heninger
4efdb1090d ICU-7555 regexp does not recognize [:word:]
X-SVN-Rev: 28854
2010-10-18 20:08:27 +00:00
Andy Heninger
69a7b1ea42 ICU-6545 Allow regex reset to the end of a string
X-SVN-Rev: 28801
2010-10-12 22:52:51 +00:00
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
Steven R. Loomis
813bed9975 ICU-7958 test macro cleanup
X-SVN-Rev: 28630
2010-09-16 16:44:29 +00:00
Steven R. Loomis
592b73e980 ICU-7502 fix ASCIIsms - merge from branch /branches/srl/ascii7502
X-SVN-Rev: 28382
2010-07-28 16:08:12 +00:00
Andy Heninger
e8985e068a ICU-7740 Regex error handling cleanups
X-SVN-Rev: 28210
2010-06-16 17:54:04 +00:00
Michael Grady
8b6ce73317 ICU-7666 Regex find progress callback (from branch to trunk)
X-SVN-Rev: 28201
2010-06-15 20:19:10 +00:00
Peter Edberg
df7d633f59 ICU-7651 Add test case (segfaults without the fix in r27992)
X-SVN-Rev: 27994
2010-04-28 03:55:58 +00:00
Andy Heninger
90d4c6dfc4 ICU-7541 fix memory leaks in intltest regex
X-SVN-Rev: 27826
2010-03-11 23:43:03 +00:00
Michael Ow
4b0b3ab1ef ICU-6911 Fix mismatch delete statement.
X-SVN-Rev: 27682
2010-02-25 20:38:07 +00:00
Michael Ow
0763686c6c ICU-7370 Log data errors to ensure that intltest and cintltst passes without data.
X-SVN-Rev: 27649
2010-02-24 16:17:03 +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
Steven R. Loomis
6d7cd2ba25 ICU-4521 remove breaking #include
X-SVN-Rev: 27492
2010-02-04 23:27:28 +00:00
Michael Grady
8216117f21 ICU-4521 UText-based regex implementation
X-SVN-Rev: 27482
2010-02-03 02:59:35 +00:00
Michael Ow
c6385f6209 ICU-7068 Add statements to ensure that uconfigtest passes
X-SVN-Rev: 26466
2009-08-04 21:09:17 +00:00
Michael Ow
6b1f9ef27c ICU-6905 Make intltest pass without any data.
X-SVN-Rev: 26096
2009-06-12 19:34:21 +00:00
Andy Heninger
9d67ad9172 ICU-6403 restore original tests for regexp security issues
X-SVN-Rev: 24324
2008-06-30 23:53:12 +00:00
Steven R. Loomis
d3d779e429 ICU-6402 fixes for IBM i.
X-SVN-Rev: 24317
2008-06-28 07:02:26 +00:00