Module:Lang: Difference between revisions

Jump to navigation Jump to search
m
variant decode fix;
No edit summary
m (variant decode fix;)
Line 284:
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)$');
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%w?%w?%w?+)$');
 
elseif source:match ('^%a%a%a?%-%a%a%a%a%-%a%a$') then -- ll-Ssss-RR
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu