On 3/28/23 17:14, Sam wrote: > On 3/28/23 16:07, Uri Guttman wrote: >> >> my $re = qr/^\d{5,}/ ; >> >> that should be all you need. >> >> read perlretut to learn more regex basics. you have escaping and >> quoting mistakes in the original. >> >> uri >> > > I would think /^\d{5,6}/ would be what is needed? He wanted 5 or 6 > digits. > yes, but he kept the {5,} repeat count. so i just kept it too. -- https://uriguttman.blogspot.com/ A Long Strange Trip A blog about computers, food, my life and silliness.Thread Previous | Thread Next