value validation regex (P13)

From OpenStreetMap Wiki
Jump to: navigation, search
Regular expression to test the validity of the tag's value. May also be used for role names. The wrapping ^( and )$ are assumed. Do not use for enum-like values, e.g. noexit=yes should be a tag, not a regex.
  • format as a regular expression
  • value validation regular expression
  • format as a regex
Language Label Description Also known as
English
value validation regex
Regular expression to test the validity of the tag's value. May also be used for role names. The wrapping ^( and )$ are assumed. Do not use for enum-like values, e.g. noexit=yes should be a tag, not a regex.
  • format as a regular expression
  • value validation regular expression
  • format as a regex

Data type

External identifier

Statements

https://regexper.com/#^$1$
0 references