develooper Front page | perl.beginners | Postings from March 2023

Re: A Regular Expression Problem in Perl 5.28

Thread Previous | Thread Next
Martin McCormick
March 28, 2023 22:00
Re: A Regular Expression Problem in Perl 5.28
Message ID:
Uri Guttman <> writes:
> yes, but he kept the {5,} repeat count. so i just kept it too.

	Now that I know how this works, I will probably change to
{4,} as this would match 4 or more digits.  From reading the
documentation, {4} means 4 and only 4.  {4,6} means 4 but nothing
else except 6. {N,} means N as a low limit but any number higher.

	This is an application that only I am interested in so,
if I need to modify things, I can without causing any grief.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About