AshitaXI/Ashita

Usage explanation for filterscan and addons that use gmatch(pattern)

Opened this issue · 0 comments

Just a small request for addons that use gmatch(expression) for input sanitization and pattern matching, such as Filterscan. I have to make notes on how to use these addons because I cannot commit their input requirements or regular expressions to my own memory.

It would be great if the addon had a 1 line help command that called PrintUsage(), and looked like:

/filterscan help
Usage:
/filterscan Gigas  //Only show widescan entries that begin with "Gigas"
/filterscan Goblin Hunter,Goblin Bouncer //Show entries that either match "Goblin Hunter" or "Goblin Bouncer"
/filterscan !Goblin //I don't know if this is possible. but show entries that don't have the word "Goblin"