Template:KampoBooks
From Metabolomics.JP
				
								
				(Difference between revisions)
				
																
				
				
								
				| Line 8: | Line 8: | ||
     do    |      do    | ||
     ref = string.match(str, "=([^\n]+)");  |      ref = string.match(str, "=([^\n]+)");  | ||
| − |      for w in string.gmatch(ref, "[^,]+") do  | + |      for w in string.gmatch(ref, "[^, ]+") do  | 
        if not seen[w] then table.insert(T,w); seen[w] = true; end  |         if not seen[w] then table.insert(T,w); seen[w] = true; end  | ||
      end  |       end  | ||
| Line 14: | Line 14: | ||
   table.sort(T);  |    table.sort(T);  | ||
   for k,v in pairs(T) do  |    for k,v in pairs(T) do  | ||
| − |      print(  | + |      print(v);  | 
   end  |    end  | ||
|  | |  | ||
Revision as of 03:02, 20 March 2009
| Crude-drug Top Gallery  | 
General Index | Names | Prescriptions | Books | Journals | Terminology | Chinese Medicines |