Template:Index/name
From Metabolomics.JP
(Difference between revisions)
Line 53: | Line 53: | ||
local idx = {}; | local idx = {}; | ||
for id, names in stdin:gmatch("&&(%w+)&&(.+)") do | for id, names in stdin:gmatch("&&(%w+)&&(.+)") do | ||
− | for word in string.gmatch("&&[%(%)%[%]%+%-%d%p"']*([%a]+)[^&]*") do | + | for word in string.gmatch("&&[%(%)%[%]%+%-%d%p\"']*([%a]+)[^&]*") do |
if ((string.sub(word,0,1) == string.sub({{{1}}},0,1)) and | if ((string.sub(word,0,1) == string.sub({{{1}}},0,1)) and | ||
(string.byte({{{1}}},2) <= string.byte(word,2)) and | (string.byte({{{1}}},2) <= string.byte(word,2)) and |
Revision as of 14:56, 1 October 2008
名前のインデクス {{{1}}} 最小値(デフォルトaa) {{{2}}} 最大値(デフォルトab) {{{3}}} ページタイトル {{{4}}}ダミー Last updated: 20081001145615
[[Index:{{{3}}} |