WoWInterface - View Single Post - Check if itemString or itemLink
View Single Post
01-01-18, 12:57 PM   #7
A Firelord
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 495
Originally Posted by Lombra View Post
There are two occurences of |h in an item link. The first one comes immediately after the item string portion, and the second comes after the link text portion. By using + in your pattern, the result will include the link text. You should use - instead to get only the item string. I don't know if that helps, but I think you should be able to pass proper item strings to GetItemInfo.
It would actually be better to include the second |h in the pattern: |H(.*)|h.*|h
  Reply With Quote