m
minor fix in itemString extraction reg expr
No edit summary |
m (minor fix in itemString extraction reg expr) |
||
| Line 24: | Line 24: | ||
You can extract the itemString from a given itemLink with the following LUA-code: | You can extract the itemString from a given itemLink with the following LUA-code: | ||
local found, _, itemString = string.find(itemLink, "^|%x+|H(.+)|h%[.+%]") | local found, _, itemString = string.find(itemLink, "^|c%x+|H(.+)|h%[.+%]") | ||
== Printing links for debug == | == Printing links for debug == | ||