Updated SC3026 (markdown)

Vidar Holen
2021-10-21 20:57:31 -07:00
parent 59e278f929
commit f9b63b1af0

@@ -14,9 +14,9 @@ echo foo-[!0]*.jpg
### Rationale:
`[^c]` is frequently used in most regular expression variants to mean "any character except `c`". This is so pervasive that bash, ksh, dash, and BusyBox ash, all allow it.
`[^c]` is frequently used in most regular expression variants to mean "any character except `c`". Ksh and Bash adopted it for globs as well.
However, strictly speaking, the only range complement syntax guaranteed to be supported across shells is `[!c]`.
However, strictly speaking, the only range complement syntax guaranteed to be supported across shells is `[!c]`. Dash only supports it when using `fnmatch` and `glob` from glibc.
### Exceptions: