Think about Loose Coupling | |
PerlMonks |
Re^2: regular expression to match specific members of a bus_nameby boleary (Scribe) |
on Feb 12, 2016 at 12:29 UTC ( [id://1155069]=note: print w/replies, xml ) | Need Help?? |
Sorry, I am trying to match a word segment with a specific number in it, but there can't be any extra digits following that number. I think I might have cleared that up when I updated the question if I am looking for foo1 then: foo1 should match but foo10 should not match and foo1bar should match but foo10bar should not match if I were looking for bar25 then: bar2 would not match, bar25 would match , bar250 would not match bar25foo would match and bar250foo would not match Thanks for the help! I think the AnamolousMonk has my solution
In Section
Seekers of Perl Wisdom
|
|