[ and ] define a character class and ^ means something different inside a
character class.  You need to use alternation instead.

=~ /(?:^|&)limit=([0-9]{1,3})(?:&|$)/

I thought ^ inside [] only meant 'something special' if it was the
first character.
Can you explain what '?:' means?

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to