"be consistent" | |
PerlMonks |
Re: Regex boundary matchby ultranerds (Hermit) |
on Feb 08, 2020 at 13:57 UTC ( [id://11112622]=note: print w/replies, xml ) | Need Help?? |
I think I may have found a way to do it:
$test =~ s{\b(test)\b([^\-]|$)}{change_for_url($1,$2)}eg; Can anyone see any possible issues with that?
In Section
Seekers of Perl Wisdom
|
|