I need to match an expression in Python with regular expressions that only matches even number of letter occurrences. For example:
AAA # no match AA
A* means match "A" zero or more times.
For an even number of "A", try: (AA)+