O
oshaer
Shalom.
I need to go over a file, and check for each line if it matches a Regex
from a list of expressions.
(If it matches ANY of the expressions, this is good enough).
I have put the Regex's in an array, but it seems to take too long to
compare each line to all Regex's.
So i thought maybe there's a way to put Regex's in a hashtable, and
make the search for a match a bit faster.
If anyone has an idea how to do this, i will be happy to hear.
Thanks.
Ofira.
I need to go over a file, and check for each line if it matches a Regex
from a list of expressions.
(If it matches ANY of the expressions, this is good enough).
I have put the Regex's in an array, but it seems to take too long to
compare each line to all Regex's.
So i thought maybe there's a way to put Regex's in a hashtable, and
make the search for a match a bit faster.
If anyone has an idea how to do this, i will be happy to hear.
Thanks.
Ofira.