Différences entre les versions de « Russian postal code »

De Semantic MediaWiki - Sandbox

(typo)
Balise : Éditeur de wikicode 2017
Balise : Éditeur de wikicode 2017
Ligne 2 : Ligne 2 :
 
[[Obeys regex pattern::^\d{6}$]]
 
[[Obeys regex pattern::^\d{6}$]]
  
However, the datatype [[Special:Types/Code|Code]], for some reason, cannot hold a regular expression. But [[Special:Types/String|String]] can.
+
However, the datatype [[Special:Types/Code|Code]], for some reason, cannot hold a regular expression on some wikies (but [[Special:Types/String|String]] can).
 +
 
 +
Nevertheless, this wiki works as extected. Must be some configuration setting.

Version du 4 novembre 2018 à 17:06

Russian postal code consists of six digits, e.g. 654038, and therefore follows this pattern:

^\d{6}$

However, the datatype Code, for some reason, cannot hold a regular expression on some wikies (but String can).

Nevertheless, this wiki works as extected. Must be some configuration setting.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.