regex help. Getting "cannot refer to an open group" error

I'm using title (regex): ['(.)\1{5,}'] and I'm throwing a "cannot refer to an open group" error.

I'm trying to prevent users from padding out their titles with repeating symbols. On regex101.com this seems to be valid regex that works