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 )
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 , 4 years ago
Description: | modified (diff) |
---|---|
Summary: | Stronger validation rules for ref:FR:Orange → Stronger validation rules for ref:FR:Orange and ref:FR:PTT |
comment:2 by , 4 years ago
Component: | Core validator → External rule |
---|---|
Description: | modified (diff) |
comment:3 by , 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 , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Think this is something for the French rules which is editable by everyone.