[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Patterns: Why are anchors not character classes?
- From: "John Hind" <john.hind@...>
- Date: Fri, 17 Jul 2015 09:12:28 +0100
Thu, 16 Jul 2015 18:24:43 -0400 Jonathan Goble <email@example.com>
>So just use something else (though I don't know what to suggest). The
>main point is to use letters instead of punctuation to avoid breaking
On reflection, Jonathan, I agree completely. Maybe '%i' and '%e' for
"initial" and "end" - but since few of the codes have any discernible
mnemonic value, that is probably a secondary consideration!
Incidentally, this has the additional benefit of reducing "^" to one
unambiguous meaning and eliminating "$" as a special character.
But whether to actually deprecate them is a choice.
This email has been checked for viruses by Avast antivirus software.