also sprach Mark Ferlatte <[EMAIL PROTECTED]> [2002.01.22.1914 +0100]:
> > How can I match the same character repeated n times?
> > ".{n}" matches any n characters.
> 
> "a{3}" will match aaa, aaaa, and aaaaa.

but only aaa, aaaa and so on. not *any* letter repeated n times. i had a
hard time interpreting the question too, but i think that

(.)\1{n-1}

as someone else proposed is the way to go.

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
  
breakfast.com halted - cereal port not responding.

Attachment: pgpldjsOo0ak8.pgp
Description: PGP signature

Reply via email to