I basically want to find out the longest common sequence for a list of
zip codes. My assumption is that I can use this in the regular
expression to make my current regexp shorter. It is right now too
long:

^94540|94530| .........a huge list of zip codes ending in........$

Thanks.

On Jul 31, 5:58 pm, dor <[EMAIL PROTECTED]> wrote:
> On Jul 23, 10:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > I have a list of zip codes (300) and I want to compress it so that my
> > regexp is concise. Can someone give me some pointers please? TIA.
>
> What regular expression might that be? What's the connection between
> the title of your post and the problem you are trying to solve?
> Can you be a little more precise?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to