in reply to Re: Passing variables into regular expressions
in thread Passing variables into regular expressions

Thanks for the changes to the code- this is exactly what I was looking for. Only problem I had was with understanding the meaning of the '?:' at the beginning of the regexp. The tutorial was not too helpful either. However a better understanding was gained from 'Perl Programming'{O'Reilly]
  • Comment on Re^2: Passing variables into regular expressions