James Dennett wrote:

The POSIX/Single Unix Spec documentation for fnmatch might be a good
source, but I agree with the idea that SQLite should just document what
it does rather than assuming that there's a universal standard for
globbing.


I think the most direct documentation I have found so far is from the Linux glob man page at http://www.kernel.org/doc/man-pages/online/pages/man7/glob.7.html

Linux uses ! for inversion only (so SQLite would still have to add that and continue to support the ^ inversion character for backwards compatability) and a backslash to escape the special characters where needed.

It also specifically states that the string between the square brackets can't be empty, so an error should be warranted in this case.

Dennis Cote

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to