Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Looking for a cleaner regexby k-man (Novice) |
on Dec 08, 2017 at 10:38 UTC ( [id://1205162]=perlquestion: print w/replies, xml ) | Need Help?? |
k-man has asked for the wisdom of the Perl Monks concerning the following question: I'm looking for a cleaner solution if one exists. I'm highlighting Spanish verb endings. The regex I came up with seems to work but I can't help but be curious if there is a better way. Here is what I came up with: (it's super long and I don't know how to prevent it from wrapping)
Using the advice I've now simplified:
Thanks
Back to
Seekers of Perl Wisdom
|
|