On Mon, Jan 21, 2002 at 05:07:21PM -0500, Alec wrote (1.00):
> How can I match the same character repeated n times?
> ".{n}" matches any n characters.

"a{3}" will match aaa, aaaa, and aaaaa.

"b{7}" will match bbbbbbb, etc.

HTH,

M

Attachment: pgpqK6YENOpuY.pgp
Description: PGP signature

Reply via email to