in reply to Re^3: s///g within m//g regions
in thread s///g within m//g regions
# turn * into - within |...| regions A |simple*example| is |so*simple| to come*up |with these*days|should become
# turn * into - within |...| regions A |simple-example| is |so-simple| to come*up |with these-days|So, iterate over matches, and perform substs within each match.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: s///g within m//g regions
by hippo (Bishop) on Nov 09, 2021 at 13:50 UTC | |
Re^5: s///g within m//g regions (updated)
by LanX (Saint) on Nov 09, 2021 at 14:11 UTC | |
Re^5: s///g within m//g regions
by LanX (Saint) on Nov 09, 2021 at 20:30 UTC | |
by LanX (Saint) on Nov 09, 2021 at 20:51 UTC |
In Section
Seekers of Perl Wisdom