Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$string =~ s!http://(.+?)(\s|$)![<a href="http://">Link</a>] !;
[<a href="[<a href="[<a href="[<a href="[<a href="[<a href="[<a href=" +[<a href="http://">Link</a>]
$string =~ s!http://(.+?)(\s|$)![<a href="http:a//">Link</a>] !;
[<a href="http:a//">Link</a>]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Double slashes in regex causing problems
by dave_the_m (Monsignor) on May 14, 2004 at 14:08 UTC | |
by Anonymous Monk on May 14, 2004 at 14:23 UTC | |
by halley (Prior) on May 14, 2004 at 14:41 UTC | |
by dave_the_m (Monsignor) on May 14, 2004 at 14:38 UTC |