Home
last modified time | relevance | path

Searched refs:lookbehind (Results 1 – 24 of 24) sorted by relevance

/external/python/cpython2/Lib/
Dsre_parse.py72 self.lookbehind = 0
304 if state.lookbehind:
588 if state.lookbehind:
621 state.lookbehind += 1
624 state.lookbehind -= 1
655 if state.lookbehind:
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DXPathParser.java325 private final boolean lookbehind(char c, int n) in lookbehind() method in XPathParser
333 String lookbehind = (String) m_ops.m_tokenQueue.elementAt(lookBehindPos); in lookbehind() local
335 if (lookbehind.length() == 1) in lookbehind()
337 char c0 = (lookbehind == null) ? '|' : lookbehind.charAt(0); in lookbehind()
373 String lookbehind = (String) m_ops.m_tokenQueue.elementAt(m_queueMark - (n - 1)); in lookbehindHasToken() local
374 char c0 = (lookbehind == null) ? '|' : lookbehind.charAt(0); in lookbehindHasToken()
/external/pcre/dist2/testdata/
Dtestoutput22-1616 # This should produce an error diagnostic (\C in UTF lookbehind) in 8-bit and
20 Failed: error 136 at offset 10: \C is not allowed in a lookbehind assertion in UTF-16 mode
Dtestoutput22-816 # This should produce an error diagnostic (\C in UTF lookbehind) in 8-bit and
20 Failed: error 136 at offset 10: \C is not allowed in a lookbehind assertion in UTF-8 mode
Dtestinput229 # This should produce an error diagnostic (\C in UTF lookbehind) in 8-bit and
Dtestoutput22-3216 # This should produce an error diagnostic (\C in UTF lookbehind) in 8-bit and
Dtestoutput2461 Max lookbehind = 6
476 Failed: error 125 at offset 6: lookbehind assertion is not fixed length
479 Failed: error 125 at offset 14: lookbehind assertion is not fixed length
482 Failed: error 125 at offset 12: lookbehind assertion is not fixed length
625 Max lookbehind = 1
652 Max lookbehind = 3
658 Max lookbehind = 3
670 Max lookbehind = 4
687 Max lookbehind = 4
718 Failed: error 125 at offset 11: lookbehind assertion is not fixed length
[all …]
Dtestoutput101535 Max lookbehind = 2
Dtestoutput51723 Max lookbehind = 2
/external/pcre/dist2/
DChangeLog57 11. A pattern such as /(?<=((?C)0))/, which has a callout inside a lookbehind
428 lookbehind involved an out-of-bounds pointer, which could potentially cause
431 73. The maximum lookbehind length was incorrectly calculated for patterns such
434 74. Give an error if a lookbehind assertion is longer than 65535 code units.
470 not dereferencing it) while handling lookbehind assertions.
617 for the ! or = that would indicate a lookbehind assertion. This bug was
633 16. A mutual recursion within a lookbehind assertion such as (?<=((?2))((?1)))
635 lookbehind assertion. This bug was discovered by the LLVM fuzzer.
637 17. The use of \K in a positive lookbehind assertion in a non-anchored pattern
699 33. A lookbehind assertion within a set of mutually recursive subpatterns could
DHACKING513 one code unit. A separate count is present in each alternative of a lookbehind
/external/icu/icu4c/source/i18n/
Dregexcst.txt134 '<' n open-paren-lookbehind
148 open-paren-lookbehind:
/external/python/cpython2/Doc/library/
Dre.rst281 that ends at the current position. This is called a :dfn:`positive lookbehind
283 lookbehind will back up 3 characters and check if the contained pattern matches.
288 patterns which start with positive lookbehind assertions will not match at the
305 ``...``. This is called a :dfn:`negative lookbehind assertion`. Similar to
306 positive lookbehind assertions, the contained pattern must only match strings of
308 Patterns which start with negative lookbehind assertions may
/external/pcre/dist2/doc/
Dpcre2.txt501 there are lookbehind assertions). However, this algorithm does not
1812 simple assertions \b and \B require a one-character lookbehind. \A also
1813 registers a one-character lookbehind, though it does not actually
2071 with any kind of lookbehind. For example, consider the pattern
2178 lookbehind assertions in the pattern, the check starts at the starting
2179 offset. Otherwise, it starts at the length of the longest lookbehind
4150 (a) Although lookbehind assertions in PCRE2 must match fixed length
4151 strings, each alternative branch of a lookbehind assertion can match a
4639 The maximum length of a lookbehind assertion is 65535 characters.
4958 form part of the final matched string; lookbehind assertions and the \K
[all …]
Dpcre2test.txt947 affects the output if there is a lookbehind at the start of a match, or
1243 lookbehind assertion, \K, \b, or \B was involved.)
1331 include characters before the actual match start if a lookbehind asser-
1399 position, which can happen if the callout is in a lookbehind assertion.
Dpcre2grep.txt524 than 8K) are guaranteed to be available for lookbehind asser-
/external/pcre/dist2/src/
Dpcre2_compile.c7591 int *errorcodeptr, BOOL lookbehind, BOOL reset_bracount, uint32_t skipunits, in compile_regex() argument
7676 if (lookbehind) in compile_regex()
7769 if (lookbehind) in compile_regex()
/external/icu/icu4c/source/test/testdata/
Dre_tests.txt598 (?<=x+)y - c - Variable length lookbehind not implemented
Dregextst.txt590 "(?<=(abc))def" "<1>abc</1><0>def</0>" # lookbehind precedes main match.
/external/v8/src/regexp/
Djsregexp.cc5014 RegExpCompiler* compiler, ZoneList<CharacterRange>* lookbehind, in NegativeLookaroundAgainstReadDirectionAndMatch() argument
5025 zone, lookbehind, !read_backward, lookaround.on_match_success()); in NegativeLookaroundAgainstReadDirectionAndMatch()
/external/python/cpython2/Doc/howto/
Dregex.rst10 Document lookbehind assertions
/external/v8/
DChangeLog16100 [harmony] unstage regexp lookbehind assertions (issue 4545).
16120 [harmony] stage regexp lookbehind assertions (issue 4545).
/external/python/cpython2/Misc/
DNEWS1308 conditional group references are used in lookbehind assertions in regular
DHISTORY8443 - In SRE, fixed error with negative lookahead and lookbehind that