We don't bite newbies here... much | |
PerlMonks |
Re^3: regex search for words with one digitby Athanasius (Archbishop) |
on Sep 22, 2020 at 09:40 UTC ( [id://11122070]=note: print w/replies, xml ) | Need Help?? |
Hello AnomalousMonk, You make excellent points. Having read over this thread, I think I would now approach this task in a more long-winded — but hopefully safer — way by addressing the requirements separately:
Output:
This may or may not be exactly what the OP intended, but breaking down the code into separate parts like this at least makes it easier to tweak as and when the requirements are clarified. To the OP:
Cheers,
In Section
Seekers of Perl Wisdom
|
|