in reply to replacing variable in regex - probs with special chars?
I think you probably meant to backslash the last ']' character also.while ($source =~ /(\[link title:(.*?)\](.*?)\[\/link])/gi)
|
|---|
| 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 |