go ahead... be a heretic | |
PerlMonks |
Re: regex question: How do I modify in place in only one character class?by wind (Priest) |
on Jul 01, 2014 at 01:10 UTC ( [id://1091785]=note: print w/replies, xml ) | Need Help?? |
Putting aside the very odd goal... The following regex will work for you. By using a look behind assertion \K and a look ahead assertion, we can simply inject " selected" into the appropriate option:
In Section
Seekers of Perl Wisdom
|
|