On Saturday, August 9, 2025, Denys Vlasenko <dvlas...@redhat.com> wrote: > "[a]" should be escaped as "\[a]", > but "[]" does not need escaping
Bad example. `[]' is an invalid pattern on its own, and needs escaping if there's another closing bracket ahead. -- Oğuz