in reply to replacing variable in regex - probs with special chars?

while ($source =~ /(\[link title:(.*?)\](.*?)\[\/link])/gi)
I think you probably meant to backslash the last ']' character also.

Replies are listed 'Best First'.
Re: Re: replacing variable in regex - probs with special chars?
by Emanuel (Pilgrim) on Feb 03, 2003 at 03:29 UTC
    yep, sure did... evil typo
    E.