Difference between revisions of "format as a regular expression"
(Changed a property: PST.AG) |
(Changed a property: PST.AG) |
||||||||||||||
| (15 intermediate revisions by the same user not shown) | |||||||||||||||
| aliases / en / 0 | aliases / en / 0 | ||||||||||||||
| + | regular expressions | ||||||||||||||
| aliases / en / 1 | aliases / en / 1 | ||||||||||||||
| - | |||||||||||||||
| aliases / en / 2 | aliases / en / 2 | ||||||||||||||
| - | |||||||||||||||
| aliases / th / 0 | aliases / th / 0 | ||||||||||||||
| + | นิพจน์ปรกติ | ||||||||||||||
| description / th | description / th | ||||||||||||||
| + | อยู่ในรูปแบบนิพจน์ปรกติ | ||||||||||||||
| property / formatter URL | |||||||||||||||
| + | https://regexper.com/#$1 | ||||||||||||||
| property / formatter URL: https://regexper.com/#$1 / rank | |||||||||||||||
| + | Deprecated rank | ||||||||||||||
| property / formatter URL: https://regexper.com/#$1 / reference | |||||||||||||||
| + | quote: ((?:(?:[^?+*{}()[\]\\ (English) | ||||||||||||||
| property / instance of | |||||||||||||||
| + | |||||||||||||||
| property / instance of: Wikidata property with datatype string that is not an external identifier / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / instance of | |||||||||||||||
| + | |||||||||||||||
| property / instance of: Wikidata property to indicate a constraint / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / subject item of this property | |||||||||||||||
| + | |||||||||||||||
| property / subject item of this property: regular expression / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / format as a regular expression | |||||||||||||||
| + | ((?:(?:[^?+*{}()[\]\\|]+|\\.|\[(?:\^?\\.|\^[^\\]|[^\\^])(?:[^\]\\]+|\\.)*\]|\((?:\?[:=!]|\?<[=!]|\?>)?(?1)??\)|\(\?(?:R|[+-]?\d+)\))(?:(?:[?+*]|\{\d+(?:,\d*)?\})[?+]?)?|\|)*) | ||||||||||||||
| property / format as a regular expression: ((?:(?:[^?+*{}()[\]\\|]+|\\.|\[(?:\^?\\.|\^[^\\]|[^\\^])(?:[^\]\\]+|\\.)*\]|\((?:\?[:=!]|\?<[=!]|\?>)?(?1)??\)|\(\?(?:R|[+-]?\d+)\))(?:(?:[?+*]|\{\d+(?:,\d*)?\})[?+]?)?|\|)*) / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / format as a regular expression: ((?:(?:[^?+*{}()[\]\\|]+|\\.|\[(?:\^?\\.|\^[^\\]|[^\\^])(?:[^\]\\]+|\\.)*\]|\((?:\?[:=!]|\?<[=!]|\?>)?(?1)??\)|\(\?(?:R|[+-]?\d+)\))(?:(?:[?+*]|\{\d+(?:,\d*)?\})[?+]?)?|\|)*) / 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
| ||||||||||||||
| property / Wikidata property example for properties | |||||||||||||||
| + | |||||||||||||||
| property / Wikidata property example for properties: IMDb ID / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / Wikidata property example for properties: IMDb ID / qualifier | |||||||||||||||
| + | format as a regular expression: ev\d{7}\/\d{4}(-\d)?|(ch|co|ev|nm|tt)\d{7} | ||||||||||||||
| property / property proposal discussion | |||||||||||||||
| + | |||||||||||||||
| property / property proposal discussion: https://www.wikidata.org/wiki/Wikidata:Property_proposal/Archive/29#P1793 / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / icon | |||||||||||||||
| + | |||||||||||||||
| property / icon: Pictogram voting regex.svg / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / property constraint | |||||||||||||||
| + | |||||||||||||||
| property / property constraint: single value constraint / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / property constraint | |||||||||||||||
| + | |||||||||||||||
| property / property constraint: format constraint / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / property constraint: format constraint / qualifier | |||||||||||||||
| + | format as a regular expression: ((?:(?:[^?+*{}()[\]\\|]+|\\.|\[(?:\^?\\.|\^[^\\]|[^\\^])(?:[^\]\\]+|\\.)*\]|\((?:\?[:=!]|\?<[=!]|\?>)?(?1)??\)|\(\?(?:R|[+-]?\d+)\))(?:(?:[?+*]|\{\d+(?:,\d*)?\})[?+]?)?|\|)*) | ||||||||||||||
| property / property constraint | |||||||||||||||
| + | |||||||||||||||
| property / property constraint: allowed qualifiers constraint / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
| + | |||||||||||||||
| property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
| + | |||||||||||||||
| property / Wikidata project | |||||||||||||||
| + | |||||||||||||||
| property / Wikidata project: https://www.wikidata.org/wiki/Wikidata:WikiProject_property_constraints / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / facet of | |||||||||||||||
| + | |||||||||||||||
| property / facet of: format / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / Wikidata property example | |||||||||||||||
| + | |||||||||||||||
| property / Wikidata property example: NTFS / rank | |||||||||||||||
| + | Normal rank | ||||||||||||||
| property / Wikidata property example: NTFS / qualifier | |||||||||||||||
| + | format as a regular expression: [^\00/] | ||||||||||||||
| property / Wikidata property example: NTFS / qualifier | |||||||||||||||
| + | |||||||||||||||
Latest revision as of 13:37, 22 October 2018
regex describing an identifier or a Wikidata property
- regular expressions
| Language | Label | Description | Also known as |
|---|---|---|---|
| English |
format as a regular expression
|
regex describing an identifier or a Wikidata property
|
|
Data type
String
Statements
https://regex101.com/?regex=$1
0 references
((?:(?:[^?+*{}()[\]\\|]+|\\.|\[(?:\^?\\.|\^[^\\]|[^\\^])(?:[^\]\\]+|\\.)*\]|\((?:\?[:=!]|\?<[=!]|\?>)?(?1)??\)|\(\?(?:R|[+-]?\d+)\))(?:(?:[?+*]|\{\d+(?:,\d*)?\})[?+]?)?|\|)*)
((?:(?:[^?+*{}()[\]\\|]+|\\.|\[(?:\^?\\.|\^[^\\]|[^\\^])(?:[^\]\\]+|\\.)*\]|\((?:\?[:=!]|\?<[=!]|\?>)?(?1)??\)|\(\?(?:R|[+-]?\d+)\))(?:(?:[?+*]|\{\d+(?:,\d*)?\})[?+]?)?|\|)*)
0 references