
5 Dec
2006
5 Dec
'06
4:27 p.m.
Hi, is there a way to define a set (list) of regular expressions and merge them into *one* "scanner". So that i can pass some input string to this merged scanner ( with a _single_ function call ) and as a result get back which of the regular expression(s) match for that string (two modes:(1) 1st hit & (2) all hits)? Currently i use a loop to check for each expression individually/sequentially. \Frank