Yeah, remove the vertical bars in your character class. Those are for
alternations in a group, they don't belong in a character class. Also,
you can remove the escaping of ' and " in your character class.