On Mon, 11 Dec 2023, at 09:24, ToddAndMargo via perl6-users wrote: > On 12/10/23 14:16, Kevin Pye wrote: >> Because you asked for a match with a string consisting entirely of exactly 8 >> digits. > I am not following. :'( ^ beginning of string <[0..9]> a digit ** 8 repeated exactly eight times % end of string so /^ <[0..9]> ** 8 $/ means exactly eight digits in the string, and nothing else. You have eight characters, but seven of them aren't digits, so the match fails. Similarly in the second case.
- Re: Test not working so well ToddAndMargo via perl6-users
- Re: Test not working so well William Michels via perl6-users
- Re: Test not working so well ToddAndMargo via perl6-users
- Re: Test not working so well ToddAndMargo via perl6-users
- Re: Test not working so w... William Michels via perl6-users
- Re: Test not working... ToddAndMargo via perl6-users
- Re: Test not working... ToddAndMargo via perl6-users
- Re: Test not working... ToddAndMargo via perl6-users
- Re: Test not working... Kevin Pye
- Re: Test not working... ToddAndMargo via perl6-users
- Re: Test not working... Kevin Pye
- Re: Test not working... ToddAndMargo via perl6-users
- Re: Test not working... William Michels via perl6-users
- Re: Test not working... ToddAndMargo via perl6-users
- Re: Test not working... Kevin Pye
- Re: Test not working... ToddAndMargo via perl6-users
- Re: Test not working... ToddAndMargo via perl6-users
- Re: Test not working... William Michels via perl6-users
- Re: Test not working... ToddAndMargo via perl6-users
- Re: Test not working... ToddAndMargo via perl6-users
- Re: Test not working... William Michels via perl6-users