Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 rifling through the Monastery: (6)
As of 2015-12-01 05:00 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (794 votes), past polls