I think it's designed to only support * and ? to make it simple for the normal user. If it were to support normal regex users would have to learn how to use regex just to use this feature and that wouldn't be too nice...
I do think the regular * and ? are probably all most people need for matching usernames and hosts, and full blown regex would probably be overkill (and prone to error).
*'s are 0 or more of a character.
.'s are 1 of any character.
so using a . for username and usernames won't work. using a * would work, but then would work with usernamesabc.
One solution is changing the regex that checks this. You would change the ?. Currently it probably tr's ? to a .
If you made it change it to a .? then it should match 0 or 1 of any character.
Adrian
I do think the regular * and ? are probably all most people need for matching usernames and hosts, and full blown regex would probably be overkill (and prone to error).
*'s are 0 or more of a character.
.'s are 1 of any character.
so using a . for username and usernames won't work. using a * would work, but then would work with usernamesabc.
One solution is changing the regex that checks this. You would change the ?. Currently it probably tr's ? to a .
If you made it change it to a .? then it should match 0 or 1 of any character.
Adrian