Module:Lang: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
m (variant decode fix;) |
||
Line 284: | Line 284: | ||
elseif source:match ('^%a%a%a?%-%d%d%d%d$') then -- ll-variant (where variant is 4 digits) |
elseif source:match ('^%a%a%a?%-%d%d%d%d$') then -- ll-variant (where variant is 4 digits) |
||
code, variant = source:match ('^(%a%a%a?)%-(%d%d%d%d)$'); |
code, variant = source:match ('^(%a%a%a?)%-(%d%d%d%d)$'); |
||
elseif source:match ('^%a%a%a?%-%w%w%w%w%w |
elseif source:match ('^%a%a%a?%-%w%w%w%w%w%w?%w?%w?$') then -- ll-variant (where variant is 5-8 alnum characters) |
||
code, variant = source:match ('^(%a%a%a?)%-(%w%w%w%w%w |
code, variant = source:match ('^(%a%a%a?)%-(%w%w%w%w%w+)$'); |
||
elseif source:match ('^%a%a%a?%-%a%a%a%a%-%a%a$') then -- ll-Ssss-RR |
elseif source:match ('^%a%a%a?%-%a%a%a%a%-%a%a$') then -- ll-Ssss-RR |