Index: src/js/regexp.js |
diff --git a/src/js/regexp.js b/src/js/regexp.js |
index 131e08ed4b399de9e4c7b55082ee2de89683ae81..28492609234cf712edeb5045836ac7185b13f77a 100644 |
--- a/src/js/regexp.js |
+++ b/src/js/regexp.js |
@@ -513,7 +513,7 @@ function RegExpSubclassSplit(string, limit) { |
stringIndex += AdvanceStringIndex(string, stringIndex, unicode); |
} else { |
var end = MinSimple(TO_LENGTH(splitter.lastIndex), size); |
- if (end === stringIndex) { |
+ if (end === prevStringIndex) { |
stringIndex += AdvanceStringIndex(string, stringIndex, unicode); |
} else { |
%AddElement( |