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>AAAAABBBBBCCCCCDDDDEEEEE" 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. 40