m
→itemLink API Type (String): minor rewording: LUA-code -> pattern. LUA-code is ugly IMO, not to mention that all caps LUA is wrong.
m (minor fix in itemString extraction reg expr) |
m (→itemLink API Type (String): minor rewording: LUA-code -> pattern. LUA-code is ugly IMO, not to mention that all caps LUA is wrong.) |
||
| Line 22: | Line 22: | ||
You can extract the itemString from a given itemLink with the following | You can extract the itemString from a given itemLink with the following pattern: | ||
local found, _, itemString = string.find(itemLink, "^|c%x+|H(.+)|h%[.+%]") | local found, _, itemString = string.find(itemLink, "^|c%x+|H(.+)|h%[.+%]") | ||