[xml] caret in regexp character class

2017-03-07 Thread Per Hedeland
above? I.e. I believe the current behavior is a bug, and that the correct behavior is (1). I can provide a patch if needed, but would appreciate getting a confirmation first - or a refutation, in which case I would appreciate a motivation... Thanks --Per Hedeland

Re: [xml] caret in regexp character class

2017-03-08 Thread Per Hedeland
On 2017-03-07 19:52, Liam R. E. Quin wrote: > On Tue, 2017-03-07 at 14:48 +0100, Per Hedeland wrote: >> Hello, >> >> With libxml2-2.9.4, the regular expression [ab^cd] is equivalent to >> [^cd], i.e. it matches all characters except 'c' and 'd'. How