App-Cheats

 view release on metacpan or  search on metacpan

cheats.txt  view on Meta::CPAN

:lang(language)

# Negates the specified selector (JQuery,Selectors,Other,Filters,Table 2,8)
:not(selector)

# Selects the element thatΓÇÖs the root of the document
# (JQuery,Selectors,Other,Filters,Table
# 2,8)
:root

# Selects the target element indicated by the fragment identifier of the documents
# URI (JQuery,Selectors,Other,Filters,Table 2,8)
:target

# Selects only elements that are visible (JQuery,Selectors,Other,Filters,Table 2,8)
:visible


#############################################################
## JQuery - Serialize
#############################################################

cheats.txt  view on Meta::CPAN


# Perl regex verb - MARK
perl -E '"1x2" =~ /(?:x(*MARK:x)|y(*MARK:y)|z(*MARK:z))/; say $^N'
perl -E '"1x2" =~ /(?:x(*MARK:mx)|y(*MARK:my)|z(*MARK:mz))/; say $REGMARK'

# Use atomic script runs to prevent named attacks. (paypal.com,perl regex verb ASR)
perl -C -E 'say "\N{CYRILLIC SMALL LETTER ER}aypal.com" =~ /^\w+\.com$/'         # 1
perl -C -E 'say "\N{CYRILLIC SMALL LETTER ER}aypal.com" =~ /(*asr:^\w+\.com$)/'  # 0

# Control verb: FAIL versus split.
perl -Me -e 'n { split => sub{ my %c; $c{lc($_)}++ for split("", "supercalifragilisticexpialidocious") }, fail => sub { my %c; "supercalifragilisticexpialidocious" =~ /([aeiou])(?{ $c{$1}++; })(*FAIL)/i } }, 1000000'
          Rate  fail split
fail  114679/s    --  -17%
split 137741/s   20%    --


#############################################################
## Perl Regular Expressions - Word Boundary
#############################################################

# Normal word boundary.



( run in 0.638 second using v1.01-cache-2.11-cpan-b16cb0d3907 )