Open b-f-chan opened 3 months ago
Based on this ticket, we should support: À, Â, Ç, É, È, Ê, Ë, Ï, Î, Ô, Ù, Û, Ü
/^[A-Za-zÀÂÇÉÈÊËÏÎÔÙÛÜàâçéèêëïôùû\s]+$/
@b-f-chan @mistryrn what do you think? Which other special characters and punctation should be supported?
@shailikadakia-oicr that looks great! Let's proceed with that, thanks for including the lowercase versions as well 🙂
One other thing we should confirm is hyphens and apostrophes – currently searching for some reference on that and will report back if I can find something concrete.
/^[A-Za-zÀÂÇÉÈÊËÏÎÔÙÛÜàâçéèêëïôùû\s\-]+$/
I think this is correct with including spaces and hyphens @mistryrn
@shailikadakia-oicr looks good to me 👍 Please proceed and we can confirm with Brandon during sprint planning
This looks good enough for now, let's proceed, we can make changes later if required
French characters reference -> Actual OHIP standard Space/hyphens reference --> Canadian passport standard (although not OHIP)
Add special characters support on frontend and backend (includes for example French characters, punctuation, and other special characters)
Applies to updating name field regexes only