Wikidata:Property proposal/regex (lang)

From Wikidata
Jump to navigation Jump to search

format as language specific regular expression

[edit]

Originally proposed at Wikidata:Property proposal/Generic

Descriptionregex describing a string in a given language. Use the language code to define which language it applies to.
Data typeMonolingual text
Example 1see discussion
Example 2Property:P8744#P8744$c6240499-46be-e807-6f1f-53689b0801b0economy of (the )?.*@en
Example 3Property:P8744#P8744$c6240499-46be-e807-6f1f-53689b0801b0economie van .*@nl
Example 4Property:P8625#P8625$4c5ceaa5-4728-008f-8c47-6de984a1c2dfbibliography of .+|.+ bibliography@en
Example 5Property:P2184#P2184$df861cc1-453b-3c52-ce11-8c1f2efa716chistory of .+|timeline of .+|.+ history@en
Example 6Property:P2633#P2633$1db7d103-494f-125e-351e-3c48373e95d3.+ geografi@sv
Planned useuse for Help:Property constraints portal/Value label, change its P1450-qualifier to this
See alsoformat as a regular expression (P1793)

Motivation

[edit]

To check language specific strings, it could be helpful to define language specific regexes. The uses at Property:P8744#P1552 can be an application (Add your motivation for this property here.) --- Jura 08:06, 26 October 2020 (UTC)[reply]


Discussion

[edit]