Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^2: Regex Critic?

by QM (Parson)
on Nov 19, 2013 at 11:20 UTC ( #1063313=note: print w/replies, xml ) Need Help??

in reply to Re: Regex Critic?
in thread Regex Critic?

Thanks for the comments. .* always sets off the alarm in my head, as it is very rarely necessary. Similarly, constructs like m/^.*blah.*$/ are overkill in many cases, and make it harder to see what's doing the real work.

I've had a look at the /aa modifiers, and I think that might make our list. And the use re '/aa' pragma might be the best way to do that for our code.

Quantum Mechanics: The dreams stuff is made of

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1063313]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2018-03-22 17:00 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (281 votes). Check out past polls.