Commit Graph

104 Commits

Author SHA1 Message Date
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
Andy Heninger
53c1929107 ICU-4037 regexp {min,max} overflow checking cleaned up
X-SVN-Rev: 16107
2004-08-04 17:11:55 +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
George Rhoten
85541b4aeb ICU-3222 Fix some compiler warnings.
X-SVN-Rev: 13926
2003-12-02 01:25:21 +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
Andy Heninger
3c223acda5 ICU-3320 Regex, incorrect optimization of patterns beginning with a X{0,*} loop
X-SVN-Rev: 13481
2003-10-24 01:01:45 +00:00
Alan Liu
c91c33fbdf ICU-3262 make UnicodeSet constructor and applyPattern() taking a ParsePosition, options bit mask, and SymbolTable pointer public
X-SVN-Rev: 13417
2003-10-14 21:47:59 +00:00
Andy Heninger
fae0b210ff ICU-3028 Remove stub for \037 style octal in regular expression patterns.
X-SVN-Rev: 12554
2003-06-24 02:24:20 +00:00
Andy Heninger
3491f1356e ICU-2729 Fix uninitialized variable in regex compiler.
X-SVN-Rev: 12506
2003-06-13 00:05:35 +00:00
Andy Heninger
64d4ee8a6f ICU-2699 Eliminate two compiler warnings in regexcmp.cpp
X-SVN-Rev: 12499
2003-06-12 21:17:59 +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
9c02edfe2d ICU-2908 fix crash on regexp patterns with quantifiers on a surrogate pair e.g. \ud800\udc00*
X-SVN-Rev: 12065
2003-05-23 01:32:25 +00:00
Andy Heninger
efc59e36a9 ICU-2411 Regexp, support for \x hex escapes in patterns added.
X-SVN-Rev: 11862
2003-05-09 16:55:08 +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