The regex asks for a single lowercase letter from the Latin alphabet. If you want to have at least one of those and do not care for an upper bound you need to use the + quantifier: ~r/^[a-z]+$/.
The regex asks for a single lowercase letter from the Latin alphabet. If you want to have at least one of those and do not care for an upper bound you need to use the + quantifier: ~r/^[a-z]+$/.