Make the regex check actually require at least *some* content between `[]` or `//`