Modify

Opened 4 years ago

Closed 4 years ago

#20607 closed enhancement (fixed)

Stronger validation rules for ref:FR:Orange and ref:FR:PTT

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

Attachments (0)

Change History (4)

comment:1 by francois.lacombe, 4 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, 4 years ago

Component: Core validatorExternal rule
Description: modified (diff)

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

comment:3 by francois.lacombe, 4 years ago

Thank you Skyper, I wasn't aware of this.

Modifications are now live in https://josm.openstreetmap.de/wiki/Rules/FranceSpecificRules?action=diff&version=61

comment:4 by skyper, 4 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.