luxlunae has asked for the wisdom of the Perl Monks concerning the following question:
The idea is to reduce:$words =~ s/<*>//g;
to<span class="author-name" itemprop="author">Romaxton</span>
Instead I end up with:Romaxton
I've never been great with regex :(.<span class="author-name" itemprop="author" Romaxton</span>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with <> and regex
by choroba (Cardinal) on Mar 11, 2014 at 15:30 UTC | |
by AnomalousMonk (Archbishop) on Mar 11, 2014 at 22:57 UTC | |
by choroba (Cardinal) on Mar 11, 2014 at 23:09 UTC | |
|
Re: Problem with <> and regex
by golux (Chaplain) on Mar 11, 2014 at 15:15 UTC | |
by luxlunae (Novice) on Mar 11, 2014 at 15:20 UTC | |
by golux (Chaplain) on Mar 11, 2014 at 15:23 UTC | |
|
Re: Problem with <> and regex
by kcott (Archbishop) on Mar 11, 2014 at 23:21 UTC | |
|
Re: *fixed*Problem with <> and regex
by Laurent_R (Canon) on Mar 11, 2014 at 22:44 UTC | |
by AnomalousMonk (Archbishop) on Mar 11, 2014 at 22:54 UTC | |
by Laurent_R (Canon) on Mar 12, 2014 at 18:43 UTC |