On 4/15/05, Juerd <[EMAIL PROTECTED]> wrote:
> Am I the only one who thinks <[a-z]> is ugly and hard to type because of
> the nested brackets? The same goes for <{...}>. The latter can't easily
> be fixed, I think, but the former perhaps can. If there are more who
> think it needs to, that is. And <{}> is a bit easier to type because all
> four are shifted (US QWERTY and US Dvorak), while with <[]> I really
> have to think hard about when to press and when to release the shift
> key.

I never liked character sets. They introduced yet another exception to
the parsing rules, and it irked me. If it weren't for the need to
optimize character sets, I'd prefer to be Pythonized into using @{'a'
.. 'z'}

If I read the Apocalypses correctly, I'm allowed to use this bizzare construct:

$foo ~~ /@{< [ ] { } < > : ++ $ . ? / +| +& ?| ?& >}/

to match some of my favorite punctuations, right? It allows
multi-character alternatives as well as the single-character ones, so
it seems preferable to me (assuming it could be optimized happily).

Ashley Winters

Reply via email to