in reply to Re: Re: Monks' Expression
in thread Monks' Expression

I want to thank I0 for correcting some bugs:
  1. '[' is apparently a reserved character in Perl REs so it needed to be escaped.
  2. The ? in .*? turns off greedy matching. Thus everything after id= will be matched but only up until the first '[' it encounters.