laziness, impatience, and hubris | |
PerlMonks |
Help with a regexby marco.shaw (Initiate) |
on Sep 07, 2007 at 14:03 UTC ( [id://637656]=perlquestion: print w/replies, xml ) | Need Help?? |
marco.shaw has asked for the wisdom of the Perl Monks concerning the following question: Using this, if $string doesn't have ".123" in it, I get the whole string output, but I don't want that. I just want the string output *if* it has ".123" at the end. I guess what I'm looking for is a test as to whether there's a ".0-9*" expression at the end. I need a ".", then any number of numerical values, but at least one. The "." has to be at the end.
Back to
Seekers of Perl Wisdom
|
|