Open main menu

format as a regular expression (P1793)

regex describing an identifier or a Wikidata property. When using on property constraints, ensure syntax is a PCRE
  • regex
  • regular expressions
edit
Language Label Description Also known as
English
format as a regular expression
regex describing an identifier or a Wikidata property. When using on property constraints, ensure syntax is a PCRE
  • regex
  • regular expressions

Data type

String

Statements

Constraints

((?:(?:[^?+*{}()[\]\\|]+|\\.|\[(?:\^?\\.|\^[^\\]|[^\\^])(?:[^\]\\]+|\\.)*\]|\((?:\?[:=!]|\?<[=!]|\?>)?(?1)??\)|\(\?(?:R|[+-]?\d+)\))(?:(?:[?+*]|\{\d+(?:,\d*)?\})[?+]?)?|\|)*)