Use abstract text access APIs in regular expressions

Description

Based on the work in 3944, adapt regular expression engine to using abstact text
access APIs.

Activity

Show:
TracBot
June 30, 2018, 11:53 PM
Trac Comment 14 by mishonok—2010-02-02T23:51:11.000Z

OK, commited to branch mishonok/regex-2009/. Next I'llmerge onto trunk:

svn commit -m ": UText-based regex implementation"
Sending source/common/unicode/utext.h
Sending source/common/utext.cpp
Sending source/i18n/Makefile.in
Sending source/i18n/i18n.vcproj
Sending source/i18n/regexcmp.cpp
Sending source/i18n/regexcmp.h
Sending source/i18n/regeximp.h
Sending source/i18n/regexst.cpp
Sending source/i18n/regexst.h
Adding source/i18n/regextxt.cpp
Adding source/i18n/regextxt.h
Sending source/i18n/rematch.cpp
Sending source/i18n/repattrn.cpp
Sending source/i18n/unicode/regex.h
Sending source/i18n/unicode/uregex.h
Sending source/i18n/uregex.cpp
Sending source/test/cintltst/reapits.c
Sending source/test/intltest/regextst.cpp
Sending source/test/intltest/regextst.h
Sending source/test/intltest/utxttest.cpp
Sending source/test/intltest/utxttest.h
Transmitting file data .....................
Committed revision 27480.

TracBot
June 30, 2018, 11:53 PM
Trac Comment 15 by mishonok—2010-02-03T03:48:25.000Z

Committed to trunk:
Committed revision 27482.

missed a file:
Sending source/test/intltest/regextst.h
Committed revision 27484.

TracBot
June 30, 2018, 11:53 PM
Trac Comment 17 by —2010-02-03T05:13:52.000Z

Added as "@internal 4.4" for ICU 4.4. Filed #7406 to move these to "@draft 4.4" for ICU 4.6.

TracBot
June 30, 2018, 11:53 PM
Trac Comment 18 by —2010-02-25T07:02:05.000Z

OK, I think this is ready. A lot of the diffs are work on a branch, temporary fixes, etc. The real fixes are in the following diffs:

•1. initial merge from branch (uses 2 fExtra fields to hold 64-bit indices etc; this is changed in •4 below so fExtra fields are 64 bits, and we go back to using a single field for indices): r27482 r27484.

•2. disambiguate method signature: r27522

•3. fix dangling pointer: r27541

•4. fix 64bit alignment issues. This actually reverts a lot of the pattern processing code to something much closer to what it was before any of these checkins: r27670

TracBot
June 30, 2018, 11:53 PM
Trac Comment 20 by —2016-10-05T23:14:33.489Z

Milestone 4.3.5 deleted

Fixed

Assignee

TracBot

Reporter

TracBot

Components

Labels

None

Reviewer

None

Priority

major

Time Needed

Weeks

Fix versions