Hi Gregory,
>>BTW. I found some time to read your link. So understand that building the machine might slow down for complex patterns. This will change the design of the use somehow. Thanks again.
>
>The reason I mentioned the links, was to get a better understanding
how the machine works. It's a state machine. The active states are marked with a penny
>
>As to building the machine, this example is perl related. The way we use it, it's only built each time you assign a pattern (and maybe the IgnoreCase as well ?)
>
>But there are times I have a couple of RegEx'es active, each with a different pattern
Yes, I agree that the use of multiple RegExp Objects will speed up. The way it works every change of Pattern, Multiline, Global and Ignorecase will create a new machine - and this seems to be the slowest part. Lets see if a can found some spare time to get my RegExp class altered.
I found all myself puzzeld with that lot of money. I'm not used to. ::)
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]