Fixed: Pipe character in filter interpreted wrong when wildcards stripped away

Follows ABP changeset 5268be5c2e85:
https://hg.adblockplus.org/adblockplus/rev/5268be5c2e85
Also includes the ANSI range fix.
See https://adblockplus.org/forum/viewtopic.php?f=11&t=11935#p91135 for
details.