diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-19 14:38:36 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-19 14:39:14 +0100 |
commit | e0baeba546f8f45bc1ec981a60b615a28f4142af (patch) | |
tree | a71ec1879c612c55f22fae35d4f2eb767bf45e42 /js/src/irregexp/RegExpAST.cpp | |
parent | b1abb9aebe9de3507c93f31cf1b7ffff3432e481 (diff) | |
download | UXP-e0baeba546f8f45bc1ec981a60b615a28f4142af.tar UXP-e0baeba546f8f45bc1ec981a60b615a28f4142af.tar.gz UXP-e0baeba546f8f45bc1ec981a60b615a28f4142af.tar.lz UXP-e0baeba546f8f45bc1ec981a60b615a28f4142af.tar.xz UXP-e0baeba546f8f45bc1ec981a60b615a28f4142af.zip |
Issue #1362 - Revert "Implement regular expression lookbehind"
This reverts commit fa473930f424bf17a9e545b601c84dd2e61364e3.
Diffstat (limited to 'js/src/irregexp/RegExpAST.cpp')
-rw-r--r-- | js/src/irregexp/RegExpAST.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/irregexp/RegExpAST.cpp b/js/src/irregexp/RegExpAST.cpp index 43867c312..8dfd99057 100644 --- a/js/src/irregexp/RegExpAST.cpp +++ b/js/src/irregexp/RegExpAST.cpp @@ -250,16 +250,16 @@ RegExpCapture::CaptureRegisters() } // ---------------------------------------------------------------------------- -// RegExpLookaround +// RegExpLookahead Interval -RegExpLookaround::CaptureRegisters() +RegExpLookahead::CaptureRegisters() { return body()->CaptureRegisters(); } bool -RegExpLookaround::IsAnchoredAtStart() +RegExpLookahead::IsAnchoredAtStart() { - return is_positive() && type() == LOOKAHEAD && body()->IsAnchoredAtStart(); + return is_positive() && body()->IsAnchoredAtStart(); } |