[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Patterns: Why are anchors not character classes?
- From: Coda Highland <chighland@...>
- Date: Thu, 16 Jul 2015 05:01:38 -0700
On Thu, Jul 16, 2015 at 3:16 AM, Dirk Laurie <email@example.com> wrote:
> It seems adequate to allow this usage of ^ and $ as set components only,
> not as character classes that may appear anywhere. There is the difficulty
> that ^ is also the set complement character.
There's also the difficulty that existing code may well be looking for
something like [!@#$%^&*()] and therefore change behavior, with no
warning possible and potentially a long time of remaining hidden
before causing problems.