I have two regex using the same capturing group, but their performance varied very differently.
My programming language is python3.8.