laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Re: Removing duplicate substrings from a string - is a regex possible?by arhuman (Vicar) |
on Jul 23, 2001 at 19:23 UTC ( [id://99041]=note: print w/replies, xml ) | Need Help?? |
I think that with those new elements Hofmator is right, regexes aren't probably the good solution. Especially with other simple answers available like :
Note to hofmator: don't hit me too hard... My (poor) regex was not meant to be a solution but rather to show a possible way to study (wasn't approach bold enough ? ;-) Anyway I++ your post beccause your rightly outline some of the problems that may arise with the regex approach... and in particular in my poor regex approach "Only Bad Coders Code Badly In Perl" (OBC2BIP)
In Section
Seekers of Perl Wisdom
|
|