Commit Graph

76 Commits

Author SHA1 Message Date
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Fredrik Roubert
ebc0f5b22a ICU-12012 Replace all sizeof p / sizeof T with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/288320043 .

X-SVN-Rev: 38347
2016-02-24 21:48:56 +00:00
Andy Heninger
8dba7301b7 ICU-11554 Fix regex bug with look-behind matching & UTF-8 input.
X-SVN-Rev: 38056
2015-10-09 20:01:46 +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
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
2914240e10 ICU-10463 Regular Expressions, remove overlooked function boilerplate from r34565 check-in; should fix failing Windows build.
X-SVN-Rev: 34569
2013-10-15 21:19:27 +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
c74df646b7 ICU-6947 implement UREGEX_LITERAL flag.
X-SVN-Rev: 31398
2012-02-15 01:30:55 +00:00
Andy Heninger
8bb50b4c00 ICU-9102 Remove uneeded u_init() from RegexPattern constructor
X-SVN-Rev: 31365
2012-02-10 22:50:02 +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
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