MediaWiki:Smw allows pattern

From Yugipedia
Jump to: navigation, search

This page is expected to contain a list of references (followed by regular expressions) to be made available by the Allows pattern property. To edit this page, the smw-patternedit right is required.

From smw:MediaWiki:Smw allows pattern:

IPv4|/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/
IPv4 CIDR|^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$
ISBN-10|ISBN\x20(?=.{13}$)\d{1,5}([- ])\d{1,7}\1\d{1,6}\1(\d|X)$
IBAN-DE|^(?=[0-9A-Z]{22}$)DE\d{20}$
NDL ID|\d{8}

Our patterns:

ATKDEF|^(\d+|\?(\?\?\??)?|X000|∞)$
Stars|^(-?\d\d?|\?(\?\?)?)$