Fix typo: RegEp -> RegExp

I didn't look through the code, but I am pretty sure this is wrong.