Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

tobyink's scratchpad

by tobyink (Canon)
on Apr 12, 2009 at 21:07 UTC ( [id://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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-03-19 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found