Template:WikiIDRegex: Difference between revisions
From LOTR-TCG Wiki
No edit summary Tag: Manual revert |
(Updating regex to account for 2-character Language Code (rather than 3-char) and permitting the 2-character Set Number to be alphanumeric) |
||
Line 8: | Line 8: | ||
See [[LOTR-TCG:NamingConventions]] for a breakdown. | See [[LOTR-TCG:NamingConventions]] for a breakdown. | ||
</noinclude>[A-Z]{1,5}-\w{1, | </noinclude>[A-Z]{1,5}-\w{1,2}\w\w[A-Z]\d\d\d\.\d+ |
Latest revision as of 05:08, 21 August 2022
The following regex is used to match a Wiki card ID, which is of the form:
LOTR-EN01S001.0
The set is treated as a
See LOTR-TCG:NamingConventions for a breakdown.
[A-Z]{1,5}-\w{1,2}\w\w[A-Z]\d\d\d\.\d+