title: How to look for consecutive repeats in regex?
body: <p>I am trying to find matches where an alphanumeric character is repeated consecutively. I am trying <code>re.match("(\w)[\\1][\\1]",mystring)</code> but it doesn't seem to work (always returns None). I am trying to say "whatever alphanumeric letter is captured in the parentheses, check if it occurs twice in a row anywhere."</p>