use Regexp::Common; $str =~ /$RE{num}{real}/; [download]
In reply to Re: matching digits and characters by chunlou in thread matching digits and characters by Anonymous Monk