On Mon, Aug 04, 2025 at 08:54:06PM +1000, Tim Connors wrote:
> Ok, so it's interpreting [...] as a character class despite me not saying 
> "--regex" nor "--rexexp"?

The man page says:

  By default, patterns are taken to be substrings to search for. If at least
  one non-escaped globbing metacharacter (*, ? or []) is given, that pattern
  is instead taken to be a glob pattern (which means it needs to start and
  end in * for a substring match). If --regexp is given, patterns are instead
  taken to be (non-anchored) POSIX basic regular expressions, and if --regex
  is given, patterns are taken to be POSIX extended regular expressions.
  All of this matches mlocate(1) behavior.

> I can't report this issue upstream because the git repo is on ipv6
> only.

That's fine, I am upstream. You don't need git to report bugs, though.

/* Steinar */
-- 
Homepage: https://www.sesse.net/

Reply via email to