mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
More fixes for #64285 - i had mis-merged from SpiderMonkey.
This commit is contained in:
parent
86dd5878d5
commit
3d250fdec1
@ -1429,7 +1429,7 @@ public class NativeRegExp extends ScriptableObject implements Function {
|
||||
grState.state.parenCount = num;
|
||||
if (previousKid != -1)
|
||||
matchRENodes(grState.state, grState.kid, grState.next, previousKid);
|
||||
return match;
|
||||
return index;
|
||||
}
|
||||
else
|
||||
return -1;
|
||||
@ -1712,7 +1712,7 @@ public class NativeRegExp extends ScriptableObject implements Function {
|
||||
}
|
||||
cp2--;
|
||||
}
|
||||
return -1;
|
||||
break;
|
||||
}
|
||||
case REOP_WBDRY:
|
||||
if (((index == 0) || !isWord(input[index-1]))
|
||||
|
@ -1429,7 +1429,7 @@ public class NativeRegExp extends ScriptableObject implements Function {
|
||||
grState.state.parenCount = num;
|
||||
if (previousKid != -1)
|
||||
matchRENodes(grState.state, grState.kid, grState.next, previousKid);
|
||||
return match;
|
||||
return index;
|
||||
}
|
||||
else
|
||||
return -1;
|
||||
@ -1712,7 +1712,7 @@ public class NativeRegExp extends ScriptableObject implements Function {
|
||||
}
|
||||
cp2--;
|
||||
}
|
||||
return -1;
|
||||
break;
|
||||
}
|
||||
case REOP_WBDRY:
|
||||
if (((index == 0) || !isWord(input[index-1]))
|
||||
|
Loading…
Reference in New Issue
Block a user