I think I am asking a bit much on this...

I was wondering if there is a module out there that will find a the common
pattern among an array of strings and return the regular expression to match
the common part.

ie:
@stuff = qw (123crapstuff morecrap crappedshit);

I want the module to return 'crap' since that is the common part in all the
items.

I know... real long shot. I tried searching but don't even know what to
search for.


Nikola Janceski

Choose the life that is most useful, and habit will make it the most
agreeable.
-- Francis Bacon


----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to