Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

tobyink's scratchpad

by tobyink (Abbot)
on Apr 12, 2009 at 21:07 UTC ( #757128=scratchpad: print w/ replies, xml ) Need Help??

Monestry CSS

pre.output { color: #006; background:#ddf url(http://buzzword.org.uk/2012/output) no-repeat sc +roll top right; padding:0.33em; border:1px solid; font-size:90%; line-height:1.05; } pre.output em { font-style: italic; color: black; } pre.output strong { font-weight: bolder; color: black; }

Regexp for WideMind

use 5.010; my $string = <<'CODE'; if (foo > 1) { bar("Hello World"); for(var i=0; i<baz(j); i++) { quux(2); } } CODE # Finds "bar", "baz" and "quux", but not "if" or "for". while ($string =~ m{ (\w+) (?<!if) (?<!for) (?<!switch) \s* \( }xg) { say "found: ", $1 }
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2014-09-22 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (186 votes), past polls