Commit Graph

119 Commits

Author SHA1 Message Date
Markus Scherer
a9c247a3cb ICU-12166 annotate intended switch case fallthroughs
X-SVN-Rev: 38447
2016-03-01 07:44:57 +00:00
Andy Heninger
92e4ca4448 ICU-12138 Fix RegexCompile::doParseActions uses uninitialized variable
X-SVN-Rev: 38395
2016-02-27 00:04:47 +00:00
Andy Heninger
ce09d8a4bc ICU-11393 Regex, add pattern chars R v and h
X-SVN-Rev: 37057
2015-02-24 00:24:59 +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
03fd84ff03 ICU-11104 MSVC compiler warnings, apply patch from Chromium.
X-SVN-Rev: 36995
2015-01-30 02:18:02 +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
b3bd196383 ICU-11373 Regex, check for integer overflow in maxMatchLength computation.
X-SVN-Rev: 36794
2014-12-02 19:24:31 +00:00
Andy Heninger
2e6a8c568c ICU-11374 Regular Expression, improve checking of integer overflow.
X-SVN-Rev: 36792
2014-12-02 17:05:27 +00:00
Andy Heninger
f5d14979c6 ICU-11369 Regex, fix incorrect optimization of patterns with a zero length quantifier {0}
X-SVN-Rev: 36727
2014-11-12 23:42:14 +00:00
Andy Heninger
9db433b745 ICU-11370 Regex, add missing range check of length of a look-behind expression.
X-SVN-Rev: 36724
2014-11-12 23:10:21 +00:00
Yoshito Umaoka
ff4fd29a21 ICU-11302 Proper error handling with utext_clone in regular expression implementation.
X-SVN-Rev: 36673
2014-10-13 17:46:34 +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
Andy Heninger
dbcf79f57b ICU-10799 ICU initialization code, review & cleanup.
X-SVN-Rev: 35649
2014-04-23 23:22:13 +00:00
Andy Heninger
1996008111 ICU-10624 Swat clang compile warnings. More fixes to come.
X-SVN-Rev: 34854
2014-01-10 02:24:54 +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
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
Andy Heninger
b129b40280 ICU-10024 fixes for Regexp, look-behind pattern fails to compile bug.
X-SVN-Rev: 33835
2013-06-18 20:38:08 +00:00
Michael Ow
0ca13b73b0 ICU-9292 Merge BEAM warning fixes from branch into trunk
X-SVN-Rev: 31792
2012-05-03 05:50:26 +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
Andy Heninger
c74df646b7 ICU-6947 implement UREGEX_LITERAL flag.
X-SVN-Rev: 31398
2012-02-15 01:30:55 +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
Yoshito Umaoka
e9503bdade ICU-8909 Fixed various warnings reported by a source code analysis tool.
X-SVN-Rev: 30958
2011-11-14 19:32:51 +00:00
Markus Scherer
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Andy Heninger
05d9fcda26 ICU-8666 Fix regular expression assertion failure on match
X-SVN-Rev: 30244
2011-06-28 05:35:42 +00:00
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +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
f68de91610 ICU-8005 uninitialized field fLastChar (from valgrind)
X-SVN-Rev: 28758
2010-10-04 23:02:29 +00:00
Andy Heninger
74e297291f ICU-7780 fix various compiler warnings
X-SVN-Rev: 28301
2010-07-12 18:03:29 +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
Michael Grady
8216117f21 ICU-4521 UText-based regex implementation
X-SVN-Rev: 27482
2010-02-03 02:59:35 +00:00
Andy Heninger
44bf429a55 ICU-7224 bug in regular expressions with negative lookahead
X-SVN-Rev: 26848
2009-11-06 01:27:56 +00:00
Andy Heninger
cd83d25daf ICU-6472 Clean some compiler warnings and other fluff
X-SVN-Rev: 24430
2008-08-01 01:51:21 +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
60a75139f7 ICU-6205 Allow UCONFIG_NO_CONVERSION to work in the library code.
X-SVN-Rev: 23544
2008-03-10 20:09:55 +00:00
George Rhoten
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
Michael Ow
82033615bf ICU-6132 Add null pointer check to regexcmp.cpp
X-SVN-Rev: 23234
2008-01-14 22:39:03 +00:00
George Rhoten
dd845e9520 ICU-5955 Mark data const
X-SVN-Rev: 23158
2008-01-03 10:07:47 +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
ac329166b4 ICU-5427 Reduce regex static memory consumption by 35%
X-SVN-Rev: 21805
2007-06-22 01:06:31 +00:00
George Rhoten
b3cdbd8f8d ICU-5552 Compiler optimization fixes for some versions of gcc. This patch allows the regular expression tests to pass.
X-SVN-Rev: 20846
2007-01-03 23:06:36 +00:00
George Rhoten
188452c09b ICU-5349 mutex.h isn't needed in these files.
X-SVN-Rev: 20265
2006-09-08 03:40:11 +00:00
George Rhoten
bc57e25023 ICU-5008 Don't use @internal API.
X-SVN-Rev: 19055
2006-02-02 04:37:15 +00:00
Andy Heninger
8a1e1ba83a ICU-4888 regex pattern compilation bug with flag settings.
X-SVN-Rev: 18703
2005-10-20 15:54:01 +00:00
Andy Heninger
fc1588e739 ICU-4703 beam compile warning fixes
X-SVN-Rev: 18387
2005-08-02 22:48:06 +00:00
Andy Heninger
dcf498d172 ICU-4703 beam compile warning fixes
X-SVN-Rev: 18385
2005-08-02 21:51: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
Eric Mader
1e856ba7a2 ICU-4179 update copyright notices for ICU 3.2
X-SVN-Rev: 16683
2004-10-29 23:42:49 +00:00
George Rhoten
e69fca9d5f ICU-4078 Fix for AIX with Visual Age 5 compiler, and make sure that the
disentanglement is correct by putting all the UnicodeSet virtual functions are
in one file. Also move some of the rule whitespace handling into better
locations.

X-SVN-Rev: 16519
2004-10-15 22:56:26 +00:00
George Rhoten
7dd960a8b4 ICU-4078 Loosely couple the cleanup functions.
X-SVN-Rev: 16307
2004-09-12 23:07:29 +00:00