well if its just really tripping cause of the quote around the wild card, which you have as a single quote ('), why don't you try doing that as an entity reference? Like "e;
I'm not thinking about this one too much cause you probably got a fix by now...and I dont really feel like thinking...