Index: src/string.js |
diff --git a/src/string.js b/src/string.js |
index a75ccf0fa54f0747223e7be60845cfbd6af95d95..1f2255aa196dd99d7d09dd913cf2c2a001db3ac4 100644 |
--- a/src/string.js |
+++ b/src/string.js |
@@ -567,7 +567,7 @@ function StringSplit(separator, limit) { |
%_Log('regexp', 'regexp-split,%0S,%1r', [subject, separator]); |
if (length === 0) { |
- if (splitMatch(separator, subject, 0, 0) != null) { |
+ if (DoRegExpExec(separator, subject, 0, 0) != null) { |
return []; |
} |
return [subject]; |