Sorry if this is redundant.
I need to match an expression in python with regular expressions that only matches even number of letter occurances. For example:
# Even number of A's
AAA # no match
AA # match
fsfaAAasdf #match
sAfA # match
sdAAewAsA # match
AeAiA # no match
EDIT: Sorry for confusion. You are right - even number of A's SHOULD match. Like I said - was tired. Thank you
EDIT2: If you down-vote my question - please comment on what the problem is. I want to make it as clear and as useful as possible to people. Thank you.