in reply to Re: repeated characters in regular expressions
in thread repeated characters in regular expressions

The (.){$n} construct will match any sequence of $n characters, not just repeating characters.
  • Comment on Re^2: repeated characters in regular expressions