File | Code |
---|---|
JGOFF/ANTLR4-Grammar…/ECMAScript.g4 :271: |
/// [lookahead ∉ {{, function}] Expression ; |
avuserow/perl6-binary-structured…/README.md :130: |
Returns a Buf of the next C<$count> bytes but without advancing the position, used for lookahead in the C<is read> trait. |
avuserow/perl6-binary-structured…/README.md :138: |
Returns the next byte as an Int without advancing the position. More efficient than regular C<peek>, used for lookahead in the C<is read> trait. |
avuserow/perl6-binary-structured…/Structured.pm6 :268: |
#| position, used for lookahead in the C<is read> trait. |
avuserow/perl6-binary-structured…/Structured.pm6 :275: |
#| efficient than regular C<peek>, used for lookahead in the C<is read> |
azawawi/farabi6…/javascript.js :185: |
// This is a crude lookahead trick to try and notice that we're |
azawawi/perl6-gtk-scintilla…/LexCLW.cxx :144: |
// Get the next word in uppercase from the current position (keyword lookahead) |
drforr/perl6-ANTLR4…/ECMAScript.g4 :271: |
/// [lookahead ∉ {{, function}] Expression ; |
masak/gge…/STATUS :18: |
Some tests had to be marked TODO in rx_modifiers, because they used lookahead, |
masak/gge…/STATUS :66: |
* lookahead and lookbehind (<before> and <after>) |
masak/gge…/rx_lookarounds :2: |
<before .d> a. abacad /mob: <ad @ 4>/ lookahead <before> |
masak/gge…/rx_lookarounds :3: |
<before c> .... abacad n lookahead <before> |
masak/gge…/rx_lookarounds :5: |
<!before ..b> aa aabaaa /mob: <aa @ 3>/ negated lookahead |
masak/gge…/rx_lookarounds :35: |
c <before .d> abacad /mob: <c @ 3>/ one character and lookahead <before> |
masak/gge…/rx_lookarounds :36: |
.* <before .d> abacad /mob: <abac @ 0>/ multiple characters and lookahead <before> |
masak/gge…/rx_lookarounds :37: |
.* <before .\<> abaca<d /mob: <abac @ 0>/ multiple characters and lookahead <before> with a '<' |
masak/gge…/rx_lookarounds :38: |
.* <before \<> aba<ca<d /mob: <aba<ca @ 0>/ greedy any character and lookahead <before> with a '<' |
masak/gge…/rx_lookarounds :39: |
.*? <before \<> aba<ca<d /mob: <aba @ 0>/ non-greedy any character and lookahead <before> with a '<' |
perl6-community-modules/p6-test-builder…/Output.pm :112: |
# XXX Uncomment lines when Rakudo supports negative lookahead assertions |
perl6/doc…/5to6-nutshell.pod6 :1131: |
For more info see L«lookahead assertions|/language/regexes#Lookahead_assertions_<?before_pattern>». |
perl6/doc…/regexes.pod6 :626: |
Note that you cannot easily obtain the same behavior with a lookahead, that |
perl6/doc…/regexes.pod6 :627: |
is, a regex doesn't consume characters, because a lookahead doesn't stop |
perl6/doc…/regexes.pod6 :828: |
lookahead assertion via the C<before> assertion. This has the form: |
perl6/doc…/regexes.pod6 :842: |
followed by some pattern, then you need to use a negative lookahead |
perl6/doc…/words.pws :610: |
lookahead |
rakudo-p5/v5…/Grammar.pm :2554: |
# as a lookahead by the quote interpolator. |
tony-o/perl6-html-parser-xml…/S05.html :969: |
<p>In any case, only the officially matched string part of the pattern match counts, so any sort of lookahead or contextual matching is not included in the analysis.</p> |
tony-o/perl6-html-parser-xml…/S05.html :2211: |
<li>The new <code>&</code> metacharacter separates conjunctive terms. The patterns on either side must match with the same beginning and end point. Note: if you don't want your two terms to end at the same point, then you really want to use a lookahead instead. |
tony-o/perl6-html-parser-xml…/S05.html :4383: |
<p>This is essentially the same as using negative lookahead and dot:</p> |
tony-o/perl6-html-parser-xml…/S05.html :4748: |
<pre> / <?before pattern> / # lookahead |
tony-o/perl6-html-parser-xml…/S05.html :5442: |
<p>Perform lookahead -- i.e., check if we're at a position where <code>pattern</code> matches. Returns a zero-width <code>Match</code> object on success.</p> |
tony-o/perl6-html-parser-xml…/S05.html :6814: |
<p>Historically regex processing has proceeded in Perl via a backtracking NFA algorithm. This is quite powerful, but many parsers work more efficient… |
tony-o/perl6-html-parser-xml…/S05.html :6958: |
<p>For a pattern that contains a positive lookahead assertion such as <code><?foo></code> or <code><?before \s></code>, the… |
tony-o/perl6-html-parser-xml…/S05.html :6974: |
<p>However, for a pattern that contains a negative lookahead assertion such as <code><!foo></code> or <code><!before \s></c… |
tony-o/perl6-html-parser-xml…/S05.html :10531: |
<li>The recognition done by the string and array forms is very basic. To achieve greater power, any recognition element of the left side may be specified by a regex that can do character classes, lookahead, etc. |
Created
May 19, 2018 03:25
-
-
Save Whateverable/b7d807bf43c223de811fd249f7c9fcef to your computer and use it in GitHub Desktop.
greppable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lookahead |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment