format as a regular expression (P1793)

From Mepdata
Jump to navigation Jump to search
regex describing an identifier or a Wikidata property. When using on property constraints, ensure syntax is a PCRE
  • regex
  • regular expression
  • allowed values
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 expression
  • allowed values

Data type

String

Statements

Q21504947 (Deleted Item)
0 references
Q21099935 (Deleted Item)
0 references
Q19847637 (Deleted Item)
0 references
Q108566342 (Deleted Item)
0 references
https://regexper.com/#$1
1 reference
((?:(?:[^?+*{}()[\]\\ (English)
https://regex101.com/?regex=$1
Q1860 (Deleted Item)
0 references
Q845956 (Deleted Item)
0 references
Q183205 (Deleted Item)
Q1144928 (Deleted Item)
0 references
Q185612 (Deleted Item)
0 references
Q21502404 (Deleted Item)
((?:(?:[^?+*{}()[\]\\|]+|\\.|\[(?:\^?\\.|\^[^\\]|[^\\^])(?:[^\]\\]+|\\.)*\]|\((?:\?[:=!]|\?<[=!]|\?>)?(?1)??\)|\(\?(?:R|[+-]?\d+)\))(?:(?:[?+*]|\{\d+(?:,\d*)?\})[?+]?)?|\|)*)
Q21502404 (Deleted Item)
0 references
Q52004125 (Deleted Item)
Q29934200 (Deleted Item)
Q29934218 (Deleted Item)
0 references
Q21503250 (Deleted Item)
Q6545185 (Deleted Item)
Q19847637 (Deleted Item)
Q108566342 (Deleted Item)
Q18610173 (Deleted Item)
Q30208840 (Deleted Item)
0 references
Q53869507 (Deleted Item)
Q54828448 (Deleted Item)
Q54828449 (Deleted Item)
0 references
Q56162322 (Deleted Item)
0 references
no value
0 references
Q24025284 (Deleted Item)
0 references
When used in property constraint, it should contain PCRE2 regular expression, treated as "full match". For example, "(?i)[a-z]+|\d+|" means that validated string should match /^(?:[a-z]+|\d+)$/i or be set to "no value" or "unknown value" (English)
0 references