Document regular expression flavour (POSIX extended?)
man pacman
mentions "regex" 6 times, but there’s no mention anywhere of what regular expression syntax is expected.
Based on #include <regex.h>
I assume it’s standard C POSIX library regex, and I think |
is a union operator meaning the REG_EXTENDED
flag is set, so pacman
is using POSIX extended regular expressions? Would be nice to have this mentioned this somewhere. REG_ICASE
) and that newlines are treated specially (REG_NEWLINE
).)