Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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: (4)
As of 2016-09-30 00:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (562 votes). Check out past polls.