Module:mn-common: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 13: Line 13:
local gsub = mw.ustring.gsub
local gsub = mw.ustring.gsub
local lower = mw.ustring.lower
local lower = mw.ustring.lower
local reverse = require( "Module:string" ).reverse
local reverse = require( "Module:String" ).reverse


export.FVS1 = char( 0x180B )
export.FVS1 = char( 0x180B )
Line 270: Line 270:
for i,s in ipairs( vh ) do
for i,s in ipairs( vh ) do
local orig = s.substring
local orig = s.substring
s.substring = string.reverse( lower( s.substring ) )
s.substring = reverse( lower( s.substring ) )
local vowel = match( s.substring, "[аеёоөуүэюя]" )
local vowel = match( s.substring, "[аеёоөуүэюя]" )
location = (find( s.substring, "[аеёоөуүэюя]" ))
location = (find( s.substring, "[аеёоөуүэюя]" ))

Navigation menu