Hello.

Is there any regular expression, that can match any consecutive
character?

Example:

qwerty -> no match
qwertyq -> no match
qqwerty -> match because of the qq
qwerrrty -> match because of the rrr

and so on...

My obvious attempts that resulted in failure were:

1- /.{2,}/
2- /[qwerty]{2,}

I tried to search a solution on the internet, but i only found solutions
where you need to specify a single character:

q{2,}
w{2,}
...



Thanks and best regards,
David Santiago

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to