Skip to content

Regex apostrophe dosn't match with Adress #388

Closed
@Seekny

Description

@Seekny

Hello,

i found an issue when im trying to add a new Client with the method : SwissQrCode.Contact.WithStructuredAddress();

There is a Regex as define in the library like : @"^([a-zA-Z0-9.,;:'\ +-/()?*[]{}\`´~ ]|[!""#%&<>÷=@_$£]|[àáâäçèéêëìíîïñòóôöùúûüýßÀÁÂÄÇÈÉÊËÌÍÎÏÒÓÔÖÙÚÛÜÑ])*$" on the Street parameter.

When i had the follow string 'Route du Poirier à l’âne', i got the exception :

"Name must match the following pattern as defined in pain.001: {charsetPattern}"

It appears that the apostrophe between the l & âne is not valid.

Is it possible to add this apostrophe : < ’ > ?

Sorry for bad english

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions