Don't require us to finish the whole string with our last item.
This commit is contained in:
@@ -310,7 +310,7 @@ RecentRunes.prototype.parse = function(nodeType, input) {
|
||||
if (lastRuleMinimize) {
|
||||
var lastMatch = lastRuleMinimize.match(
|
||||
input.slice(inputIndex), input, inputIndex, this);
|
||||
if (!lastMatch || lastMatch[0] != input.length - inputIndex) {
|
||||
if (!lastMatch) {
|
||||
return null;
|
||||
}
|
||||
inputIndex += lastMatch[0];
|
||||
|
||||
Reference in New Issue
Block a user