Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: alternation in regexes: to use or to avoid?

by ww (Archbishop)
on Dec 10, 2012 at 15:27 UTC ( [id://1008120]=note: print w/replies, xml ) Need Help??


in reply to alternation in regexes: to use or to avoid?

  1. "Is this a recognized problem? Yes, see Athanasius', above.
  2. "Is it a problem at all? Yes, but not one that's apt to be resolved other than by careful choice among the alternate approaches.
  3. "Does it look like it needs to be reported as a bug? No; see 1 above
  4. Does this "mean that alterations with grouping should be avoided at all...?" Definitely not; sometimes the difference in speed is too small to make any difference; sometimes the clarity of one approach clearly outweighs any other issues; and sometimes other factors, like personal taste, can be allowed to determine. Just be sure to think carefully about which applies.
  • Comment on Re: alternation in regexes: to use or to avoid?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found