in reply to
Re: Extracting the number of repetitions from a regex
in thread Extracting the number of repetitions from a regex
Cool stuff, BrowserUk!
This really does the trick. Since I am not really clear on the difference between 'Lexicals' and 'Globals' - could you please briefly expand on how the change from declaring the variables with my to our affects this scenario? I expected the scope of a variable definition to be that of the block is was defined in ... hence my confusion as to why the use of globals would make any difference here.
Thanks again - Pat