Rule 2: The Atomically Correctness of Regex

Do not get caught with a non-matching group name

Avoid the pitfall of having a non-matching group name in an atomic group. This is not just about being correct, it's about being atomically correct.

Example: \(foo\)\1 is not the same as \1foo.