(P1793)
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
In more languages
Data type
String
Statements
instance of
Wikidata property to indicate a constraint
0 references
Wikidata property with datatype string that is not an external identifier
0 references
Wikidata property for an identifier
0 references
icon
Pictogram voting regex.svg
249 × 249; 6 KB
0 references
maintained by WikiProject
WikiProject property constraints
0 references
described at URL
https://www.pcre.org/current/doc/html/
language of work or name
English
0 references
Wikidata item of this property
regular expression
0 references
Wikidata property example
ISO 639-3
format as a regular expression
[a-z]{3}
0 references
NTFS
format as a regular expression
[^\00/]
applies to part
filename
0 references
Wikidata property example for properties
IMDb ID
format as a regular expression
ev\d{7}\/\d{4}(-\d)?|(ch|co|ev|nm|tt)\d{7}
0 references
Laws & Regulations Database of the Republic of China ID
format as a regular expression
[A-Z0-9]{8}
0 references
formatter URL
https://regexper.com/#$1
1 reference
quotation
((?:(?:[^?+*{}()[\]\\ (English)
https://regex101.com/?regex=$1
language of work or name
English
0 references
search formatter URL
no value
0 references
see also
regular expression syntax
0 references
format as language specific regular expression
0 references
syntax clarification
0 references
applies if regular expression matches
0 references
Smithsonian trinomial format regex
0 references
property proposal discussion
https://www.wikidata.org/wiki/Wikidata:Property_proposal/Archive/29#P1793
0 references
Constraints
property constraint
single-value constraint
separator
country
syntax clarification
0 references
format constraint
format as a regular expression
((?:(?:[^?+*{}()[\]\\|]+|\\.|\[(?:\^?\\.|\^[^\\]|[^\\^])(?:[^\]\\]+|\\.)*\]|\((?:\?[:=!]|\?<[=!]|\?>)?(?1)??\)|\(\?(?:R|[+-]?\d+)\))(?:(?:[?+*]|\{\d+(?:,\d*)?\})[?+]?)?|\|)*)
1 reference
reference URL
https://stackoverflow.com/questions/172303/is-there-a-regular-expression-to-detect-a-valid-regular-expression/172316#172316
retrieved
3 September 2016
allowed qualifiers constraint
property
syntax clarification
regular expression syntax
country
reason for deprecation
reason for preferred rank
0 references
format constraint
format as a regular expression
.{2,650}
constraint status
suggestion constraint
0 references
allowed entity types constraint
item of property constraint
Wikibase item
Wikibase property
0 references
type constraint
class
unique identifier
Wikidata property for an identifier
Wikidata property to link to Commons
relation
instance or subclass of
0 references
property scope constraint
property scope
as main value
as qualifier
0 references
Last edited on 9 August 2021, at 15:35
Wikidata
All structured data from the main, Property, Lexeme, and EntitySchema namespaces is available under the Creative Commons CC0 License; text in the other namespaces is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Privacy policy
Terms of Use
Desktop
 Home Random  Nearby  Log in  Settings  Donate  About Wikidata  Disclaimers
Watch