Skip to content

Please improve telephone number recognition #95

@ghost

Description

International phone numbers starting with the + symbol seem not recognized. Note that all the possible international prefixes are known (a list can be found at http://en.wikipedia.org/wiki/List_of_country_calling_codes ) so the regexp could be very strict. Something like:
\+(code1|code2|...)[ \-\(\)0-9]{3,}
(or possible requiring an even longer sequence of digits to protect from recognizing numbers with a leading explicit positive sign).

Right now the regex recognizes only numbers roughtly in US format (XXX) XXX-XXXX .

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions