[thelist] regexp help

Richard Bennett richard.bennett at skynet.be
Mon Jul 14 12:15:44 CDT 2003


thanks Frank and Andrew,
It was the space thing - works ok now.

Richard.

BTW, this is for a script that parses telephone records, and matches the
country code to the phone number.
In first instance the lookup list was loaded from file into an array (2500
rows), and for each telephone record a grep was done on the array.
This took 8000 seconds for 200.000 records
Now I tried saving the lookup table as one long string, and using the
regexp. This takes 188 second for 200.000 records!




----- Original Message -----
From: "AxssDnied" <axssdnied at borg.darktech.org>



More information about the thelist mailing list