Re: Change “~” to “!”

On Tue, 2022-04-19 at 14:28 +0100, John Lumley wrote:
> I'm tempted to agree with the change suggestion, though within XPath 
> regular expressions, ^ is used for negation, e.g. [^0-9]. 

We also have != in XPath for "not equal to" (although in a weird not-
useful way because of implicit existential quantification, but that's
another story).

Liam


-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org

Received on Tuesday, 19 April 2022 15:48:50 UTC