Skip to content

Regex apostrophe dosn't match with Adress #388

Closed

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

Activity

  1. codebude commented on Apr 27, 2024

    @codebude
    Collaborator

    This should be fixed by #432 which is part of the QRCoder 1.5.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions