Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: nested combinations: algorithm advice?

by bmann (Priest)
on Sep 22, 2004 at 18:31 UTC ( #393010=note: print w/replies, xml ) Need Help??


in reply to Re^2: nested combinations: algorithm advice?
in thread nested combinations: algorithm advice?

Glad you liked it. One caveat though - craft your regex with care if you use this (or use a hash like jasper's version below, which doesn't suffer from this problem). The regex I used was naive in that it doesn't detect the boundary between the words. Add "twop_threep" to DATA, you'll see a false positive.
  • Comment on Re^3: nested combinations: algorithm advice?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2020-10-24 15:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (245 votes). Check out past polls.

    Notices?