Home
last modified time | relevance | path

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

12

/external/python/cpython2/Lib/
Dsre_parse.py73 self.lookbehind = 0
314 if state.lookbehind:
607 if state.lookbehind:
640 state.lookbehind += 1
643 state.lookbehind -= 1
674 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 0: \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 0: \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
Dtestoutput2465 Max lookbehind = 6
480 Failed: error 125 at offset 3: lookbehind assertion is not fixed length
483 Failed: error 125 at offset 5: lookbehind assertion is not fixed length
630 Max lookbehind = 1
659 Max lookbehind = 3
665 Max lookbehind = 3
677 Max lookbehind = 4
694 Max lookbehind = 4
725 Failed: error 125 at offset 0: lookbehind assertion is not fixed length
728 Failed: error 125 at offset 6: lookbehind assertion is not fixed length
[all …]
Dtestoutput22-3216 # This should produce an error diagnostic (\C in UTF lookbehind) in 8-bit and
Dtestoutput51709 Max lookbehind = 2
4159 Failed: error 125 at offset 1: lookbehind assertion is not fixed length
4162 Failed: error 125 at offset 2: lookbehind assertion is not fixed length
Dtestoutput101535 Max lookbehind = 2
/external/pcre/dist2/
DChangeLog99 a pattern. Because \G is in a lookbehind assertion, there has to be a
104 22. When checking to see if a lookbehind is of fixed length, lookaheads were
106 to an incorrect "lookbehind assertion is not fixed length" error.
399 5. If a lookbehind assertion that contained a back reference to a group
511 35. A lookbehind assertion that had a zero-length branch caused undefined
598 (b) {0} can now be used after a group in a lookbehind assertion; previously
624 lookbehind assertion it now points to the start of the assertion. Another
638 (a) An overall recursion such as (?0) inside a lookbehind assertion was not
650 lookbehind contained more than one toplevel branch and the first branch
675 (l) If a lookbehind contained a subroutine call, and the called group
[all …]
DHACKING165 (for example, "lookbehind assertion is not fixed length"), the parsed code
227 If the data for META_ALT is non-zero, it is inside a lookbehind, and the data
286 of the main word contain the length of the first branch of the lookbehind
723 one code unit. A separate count is present in each alternative of a lookbehind
DNEWS117 3. Back references are now permitted in lookbehind assertions when there are
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a2.rst166 Group references and conditional group references now work in lookbehind
/external/icu/icu4c/source/i18n/
Dregexcst.txt134 '<' n open-paren-lookbehind
148 open-paren-lookbehind:
/external/python/cpython2/Doc/library/
Dre.rst287 that ends at the current position. This is called a :dfn:`positive lookbehind
289 lookbehind will back up 3 characters and check if the contained pattern matches.
294 patterns which start with positive lookbehind assertions will not match at the
311 ``...``. This is called a :dfn:`negative lookbehind assertion`. Similar to
312 positive lookbehind assertions, the contained pattern must only match strings of
314 Patterns which start with negative lookbehind assertions may
/external/python/cpython3/Doc/library/
Dre.rst389 that ends at the current position. This is called a :dfn:`positive lookbehind
391 lookbehind will back up 3 characters and check if the contained pattern matches.
394 patterns which start with positive lookbehind assertions will not match at the
416 ``...``. This is called a :dfn:`negative lookbehind assertion`. Similar to
417 positive lookbehind assertions, the contained pattern must only match strings of
418 some fixed length. Patterns which start with negative lookbehind assertions may
/external/cldr/tools/java/org/unicode/cldr/draft/
DidnaContextRules.txt51 # In particular, the <before> and <at> split is used to avoid lookbehind, which can vary in results…
/external/pcre/dist2/doc/
Dpcre2.txt1334 the pattern that was read. For example, after the error "lookbehind
2174 assertions \b and \B require a one-character lookbehind. \A also regis-
2175 ters a one-character lookbehind, though it does not actually inspect
2434 with any kind of lookbehind. For example, consider the pattern
2549 lookbehind assertions in the pattern, the check starts at the starting
2550 offset. Otherwise, it starts at the length of the longest lookbehind
3095 For global replacements, matches in which \K in a lookbehind causes the
4675 (a) Although lookbehind assertions in PCRE2 must match fixed length
4676 strings, each alternative branch of a lookbehind assertion can match a
5175 The maximum length of a lookbehind assertion is 65535 characters.
[all …]
Dpcre2test.txt1115 affects the output if there is a lookbehind at the start of a match, or
1424 lookbehind assertion, \K, \b, or \B was involved.)
1512 include characters before the actual match start if a lookbehind asser-
1571 position, which can happen if the callout is in a lookbehind assertion.
/external/python/cpython2/Misc/NEWS.d/
D2.7.10rc1.rst399 references are used in lookbehind assertions in regular expressions. (See
/external/pcre/dist2/src/
Dpcre2_compile.c7527 BOOL lookbehind; in compile_regex() local
7569 lookbehind = *code == OP_ASSERTBACK || *code == OP_ASSERTBACK_NOT; in compile_regex()
7570 if (lookbehind) in compile_regex()
7605 if (lookbehind && lookbehindlength > 0) in compile_regex()
/external/v8/src/regexp/
Djsregexp.cc4940 RegExpCompiler* compiler, ZoneList<CharacterRange>* lookbehind, in NegativeLookaroundAgainstReadDirectionAndMatch() argument
4951 zone, lookbehind, !read_backward, lookaround.on_match_success(), flags); in NegativeLookaroundAgainstReadDirectionAndMatch()
5598 RegExpLookaround::Builder lookbehind(lookbehind_for_word, on_success, in BoundaryAssertionAsLookaround() local
5601 zone, word_range, true, lookbehind.on_match_success(), flags); in BoundaryAssertionAsLookaround()
5604 lookbehind.ForMatch(backward), in BoundaryAssertionAsLookaround()
/external/icu/icu4c/source/test/testdata/
Dre_tests.txt598 (?<=x+)y - c - Variable length lookbehind not implemented
/external/python/cpython2/Doc/howto/
Dregex.rst10 Document lookbehind assertions
/external/python/cpython3/Doc/howto/
Dregex.rst10 Document lookbehind assertions

12