Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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( 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?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2016-10-21 20:47 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (290 votes). Check out past polls.