From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Date: Tue, 2 Jan 2007 06:43:30 +0200 From: lucio@proxima.alt.za MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] Inferno shell Topicbox-Message-UUID: fc6493cc-ead1-11e9-9d60-3106f5b1d025 The Inferno shell man page says about a leading caret in a [ ] class: (As this character is special to the shell, it may only be included in a pattern if this character is quoted, as long as the leading [ is not quoted). It seems to me that treating the unquoted leading string [^ as a "token" would be a better alternative. Would it be very difficult to implement this rather than expect all exclusive classes to start ['^ ? I presume it is a question of where in the parsing the [ and ^ take precedence? ++L