Re: A Regular Expression Problem in Perl 5.28

[email protected] ("Martin McCormick") Tue, 28 Mar 2023 16:48:00 -0500
Newsgroups perl.beginners
Message-ID <[email protected]>
Uri Guttman <[email protected]> writes:
> you also quoted the whole regex in '' but included the // which are the
> normal regex delimiters. remove the outer quotes.
> and use the qr// form for regexes.
> and you don't want the + after the \d as the {5,} is the count. you can't
> have both types of repeat counts.
> my $re = qr/^\d{5,}/ ;
> 
> that should be all you need.

	It was and it works now!  Thank you.

Martin