Open main menu
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*)?\})[?+]?)?|\|)*)