Skip to content

Proposal: Add format_regexps to Country::XX #5

@legendetm

Description

@legendetm

What do you think about, adding class method format_regexps to every country, which returns array of regular expressions which are used to validate the format.

In our case we need to find personal code/social security number from payment description, and because this gem already knows the format regexps, it would be awesome to get this information from this gem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions