Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15579
| From | Oğuz <oguzismailuysal@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: quote removal issues within character class |
| Date | 2019-11-09 07:35 +0300 |
| Message-ID | <mailman.1058.1573274136.13325.bug-bash@gnu.org> (permalink) |
| References | <CAH7i3LrZFvJ1ELJzTdQzF1tTqhi9FDrA7xWWYWrd4RgWJs0Wtg@mail.gmail.com> <16736.1573257142@jinx.noi.kre.to> <CAH7i3Lr68CiVXLR9_HoOgQa7Vd-zyVZ+fck-0K3uQPTNSirU2Q@mail.gmail.com> |
is correct, as "foo" does not contain a ']' which would be required > to match there (quoting the ':' means there is no character class, > hence we have instead (the negation of) a char class containing '[' ':' > 'l' 'o' 'w' 'e' ';r' (and ':' again), preceded by anything, and > followed by ']' and anything. foo does not match. f]oo would. > where exactly is this documented in the standard?
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: quote removal issues within character class Oğuz <oguzismailuysal@gmail.com> - 2019-11-09 07:35 +0300
csiph-web