Revert "Change regex rule slightly"

This reverts commit c47c408abd631671f03af6bb377339280d1af152.