Opened 5 years ago

Last modified 5 years ago

#20607 closed enhancement

Stronger validation rules for ref:FR:Orange and ref:FR:PTT — at Version 2

Reported by: francois.lacombe Owned by: team
Priority: normal Milestone:
Component: External rule Version:
Keywords: telecom, france, regexp, orange Cc:

Description (last modified by skyper)

Hello

Following a little update on ref:FR:Orange and ref:FR:PTT key wiki pages, is it possible to raise a warning to users providing invalid values according to those regexps please?

  • ref:FR:Orange : ^PT[0-9]+$
  • ref:FR:Orange:NRO : ^[0-9]{5}[A-Z0-9]{3}$
  • ref:FR:PTT : ^[A-Z0-9]{3}$
  • ref:FR:PTT:NRA : ^[0-9]{5}[A-Z0-9]{3}$

See documentation in French
https://wiki.openstreetmap.org/wiki/FR:Key:ref:FR:Orange
https://wiki.openstreetmap.org/wiki/FR:Key:ref:FR:PTT

Thanks in advance

Change History (2)

comment:1 by francois.lacombe, 5 years ago

Description: modified (diff)
Summary: Stronger validation rules for ref:FR:OrangeStronger validation rules for ref:FR:Orange and ref:FR:PTT

comment:2 by skyper, 5 years ago

Component: Core validatorExternal rule
Description: modified (diff)

Think this is something for the French rules which is editable by everyone.

Note: See TracTickets for help on using tickets.