Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: A refactoring trap

by Anonymous Monk
on Aug 17, 2005 at 11:57 UTC ( #484375=note: print w/ replies, xml ) Need Help??


in reply to Re: A refactoring trap
in thread A refactoring trap

/[ ]/x matches a space as well.
Comment on Re^2: A refactoring trap
Download Code
Replies are listed 'Best First'.
Re^3: A refactoring trap
by Ven'Tatsu (Deacon) on Aug 17, 2005 at 13:56 UTC
    But the regular expression engine is more likely to be able to optimize a literal character as opposed to a character class.
      That's true. Pity noone has written an optimizer-optimizer which translates one character character classes to literal characters.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://484375]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2016-04-29 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.