On Fri, Sep 07, 2007 at 03:50:09PM -0700, Larry Wall wrote: > The first list is the ones I'm really considering, and of those, <.ws> > is the easiest to type and gets out of the way of identifier visually. > It also looks like a method call, which in fact it is. <~ws> is hard > to type, and <\ws> can be confused with \w. The problem with <=foo> > I already mentioned. The only strangeness about <.foo> I see is that > arguments would presumably continue to parse like like ordinary > assertions: <.foo bar> and <.foo: bar> might be misread. > > I dunno, maybe <\ws> isn't so bad...
But as soon as I saw it I thought the same as you say in the paragraph above - in the context of a regexp (or string) \ makes me think that one character is being back-whacked, rather than it applying to the entire token. I suspect my brain will think of rules like regexps. (But I could be wrong, and unlike quite a few people on this list, I've not written any yet, so my opinion might be of little value) Nicholas Clark