Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created October 7, 2020 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/5d59400d110d66b0082dfb63f673c7ae to your computer and use it in GitHub Desktop.
Save Whateverable/5d59400d110d66b0082dfb63f673c7ae to your computer and use it in GitHub Desktop.
greppable6
File Code
JNTHN/OpenAPI-Schema-Validate
…/Validate.pm6 :229:
$!rx = EVAL 'rx:P5/' ~ $!pattern ~ '/';
KOORCHIK/LIVR
…/Special.pm6 :31:
my $url-re = rx:P5`^(?:(?:https?)://(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a…
KOORCHIK/LIVR
…/Special.pm6 :32:
my $anchor-re = rx:P5/#[^#]*$/;
KOORCHIK/LIVR
…/String.pm6 :91:
# $flagged-re = $is-ignore-case ?? rx:i:P5/$re/ !! rx:P5/$re/;
KOORCHIK/LIVR
…/02-rules-registration.t :32:
return 'NOT_ALPHANUMERIC' if $value !~~ rx:P5/^[a-z0-9]+$/;
SKAJI/HTTP-Tinyish
…/Base.pm6 :46:
my $token = rx:P5/[^][\x00-\x1f\x7f()<>@,;:\\"\/?={} \t]+/; #
VRURG/OO-Plugin
…/060-events.t :70:
{:P0(42), :P1(-42), :P2(42), :P3(42), :P4(42), :P5(42), :P6(42), :P7(42), :P8(42), :P9(42), },
VRURG/OO-Plugin
…/060-events.t :79:
{:P0<P0.0>, :P2<P2.2>, :P3<P3.3>, :P4<P4.4>, :P5<P5.5>, :P6<P6.6>, :P7<P7.7>, :P8<P8.8>, :P9<P9.9>, },
FCO/Test-Fuzz
…/classes :188:
X::Syntax::P5
jaffa4/inistorage
…/Storage.pm :438:
while ( $file ~~ m:P5:c($p)/(?m)^\s*(\w+)\s*\=(.*)|^\s*\[(.+?)\]/) {
perl6/doc
…/5to6-nutshell.pod6 :1054:
=head2 Add :P5 or :Perl5 adverb
perl6/doc
…/5to6-nutshell.pod6 :1062:
next if $line ~~ m:P5/[aeiou]/ ; # Perl 6, using P5 modifier
perl6/doc
…/regexes.pod6 :1662:
correspond to the same adverb, as in C<:ov> or C<:P5>.
perl6/doc
…/regexes.pod6 :1812:
The B<C<:Perl5>> or B<C<:P5>> adverb switch the Regex parsing and matching
perl6/doc
…/P5.pod6 :3:
=TITLE class X::Syntax::P5
perl6/doc
…/P5.pod6 :7:
class X::Syntax::P5 does X::Syntax { }
perl6/doc
…/type-graph.txt :450:
class X::Syntax::P5 does X::Syntax
tony-o/perl6-html-parser-xml
…/S05.html :703:
<li>The extended syntax (<code>/x</code>) is no longer required...it&#39;s the default. (In fact, it&#39;s pretty much mandatory--the only way to get back to the old syntax is with the <code>:Perl5</code>/<code>:P5</code> modifier.)
tony-o/perl6-html-parser-xml
…/S05.html :1478:
<li>The new <code>:Perl5</code>/<code>:P5</code> modifier allows Perl 5 regex syntax to be used instead. (It does not go so far as to allow you to put your modifiers at the end.) For instance,
tony-o/perl6-html-parser-xml
…/S05.html :1483:
<pre> m:P5/(?mi)^(?:[a-z]|\d){1,2}(?=\s)/</pre>
zoffixznet/perl6-Pastebin-Shadowcat
…/Shadowcat.pm6 :22:
my $paste_url = $what ~~ m:P5/\D/ ?? $what !! $!pastebin_url ~ $what;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment