Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: icu52/patches/regex.patch

Issue 224943002: icu local change part1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: function indentation changed Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « icu52/patches/putil.patch ('k') | icu52/patches/rematch.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Index: source/test/testdata/regextst.txt
2 ===================================================================
3 --- source/test/testdata/regextst.txt (revision 30243)
4 +++ source/test/testdata/regextst.txt (revision 30244)
5 @@ -1,4 +1,4 @@
6 -# Copyright (c) 2001-2010 International Business Machines
7 +# Copyright (c) 2001-2011 International Business Machines
8 # Corporation and others. All Rights Reserved.
9 #
10 # file:
11 @@ -1024,11 +1024,15 @@
12 "(?!0{5})(\d{5})(?!-?0{4})(-?\d{4})?" "<0><1>94040</1><2>-3344</2></0>"
13 "(?!0{5})(\d{5})(?!-?0{4})(-?\d{4})?" "94040-0000"
14 "(?!0{5})(\d{5})(?!-?0{4})(-?\d{4})?" "00000-3344"
15 +
16 +#
17 +# Bug 8666. Assertion failure on match, bad operand to JMP_SAV_X opcode.
18 #
19 +"((.??)+|A)*" "<0><1><2></2></1></0>AAAAABBBBBCCCCCDDDDEEEE E"
20 +
21 # Random debugging, Temporary
22 #
23 #"^(?:a?b?)*$" "a--"
24 -"^(?:a?b?)*$" "a--"
25
26 "This is a string with (?:one |two |three )endings" "<0>This is a string with two endings</0>"
27 "((?:a|b|c)whoop-dee-do) | [jkl]|zed" "x"
28 Index: source/i18n/regexcmp.cpp
29 ===================================================================
30 --- source/i18n/regexcmp.cpp (revision 30243)
31 +++ source/i18n/regexcmp.cpp (revision 30244)
32 @@ -1962,6 +1962,7 @@
33 opType == URX_CTR_LOOP ||
34 opType == URX_CTR_LOOP_NG ||
35 opType == URX_JMP_SAV ||
36 + opType == URX_JMP_SAV_X ||
37 opType == URX_RELOC_OPRND) && opValue > where) {
38 // Target location for this opcode is after the insertion point and
39 // needs to be incremented to adjust for the insertion.
OLDNEW
« no previous file with comments | « icu52/patches/putil.patch ('k') | icu52/patches/rematch.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698