Re: [e-users] e16 regex bugfix

2021-11-15 Thread Dennis Nezic
On Mon, 15 Nov 2021 12:53:51 +0100, Kim Woelders wrote: > On 11/15/21 06:53, Dennis Nezic wrote: > > On Mon, 15 Nov 2021 00:29:46 -0500, Dennis Nezic wrote: > >> On Sat, 13 Nov 2021 18:11:02 +0100, Kim Woelders wrote: > >>> On 11/13/21 16:17, Dennis Nezic wrote: > On Sat, 13 Nov 2021 07:33:19

Re: [e-users] e16 regex bugfix

2021-11-15 Thread Kim Woelders
On 11/15/21 06:53, Dennis Nezic wrote: On Mon, 15 Nov 2021 00:29:46 -0500, Dennis Nezic wrote: On Sat, 13 Nov 2021 18:11:02 +0100, Kim Woelders wrote: On 11/13/21 16:17, Dennis Nezic wrote: On Sat, 13 Nov 2021 07:33:19 +0100, Kim Woelders wrote: On 11/13/21 05:18, Dennis Nezic wrote: On

Re: [e-users] e16 regex bugfix

2021-11-14 Thread Dennis Nezic
On Mon, 15 Nov 2021 00:29:46 -0500, Dennis Nezic wrote: > On Sat, 13 Nov 2021 18:11:02 +0100, Kim Woelders wrote: > > On 11/13/21 16:17, Dennis Nezic wrote: > > > On Sat, 13 Nov 2021 07:33:19 +0100, Kim Woelders wrote: > > >> On 11/13/21 05:18, Dennis Nezic wrote: > > >>> On Fri, 12 Nov 2021

Re: [e-users] e16 regex bugfix

2021-11-14 Thread Dennis Nezic
On Sat, 13 Nov 2021 18:11:02 +0100, Kim Woelders wrote: > On 11/13/21 16:17, Dennis Nezic wrote: > > On Sat, 13 Nov 2021 07:33:19 +0100, Kim Woelders wrote: > >> On 11/13/21 05:18, Dennis Nezic wrote: > >>> On Fri, 12 Nov 2021 17:48:50 +0100, Kim Woelders wrote: > On 11/11/21 21:24, Dennis

Re: [e-users] e16 regex bugfix

2021-11-13 Thread Kim Woelders
On 11/13/21 16:17, Dennis Nezic wrote: On Sat, 13 Nov 2021 07:33:19 +0100, Kim Woelders wrote: On 11/13/21 05:18, Dennis Nezic wrote: On Fri, 12 Nov 2021 17:48:50 +0100, Kim Woelders wrote: On 11/11/21 21:24, Dennis Nezic wrote: Here's a small patch for regex.c Currently, in matches.cfg,

Re: [e-users] e16 regex bugfix

2021-11-13 Thread Dennis Nezic
On Sat, 13 Nov 2021 07:33:19 +0100, Kim Woelders wrote: > On 11/13/21 05:18, Dennis Nezic wrote: > > On Fri, 12 Nov 2021 17:48:50 +0100, Kim Woelders wrote: > >> On 11/11/21 21:24, Dennis Nezic wrote: > >>> Here's a small patch for regex.c > >>> > >>> Currently, in matches.cfg, "Title *bla ..."

Re: [e-users] e16 regex bugfix

2021-11-12 Thread Kim Woelders
On 11/13/21 05:18, Dennis Nezic wrote: On Fri, 12 Nov 2021 17:48:50 +0100, Kim Woelders wrote: On 11/11/21 21:24, Dennis Nezic wrote: Here's a small patch for regex.c Currently, in matches.cfg, "Title *bla ..." will match any title with "bla" in it ... but it should only match if the title

Re: [e-users] e16 regex bugfix

2021-11-12 Thread Dennis Nezic
On Fri, 12 Nov 2021 17:48:50 +0100, Kim Woelders wrote: > On 11/11/21 21:24, Dennis Nezic wrote: > > Here's a small patch for regex.c > > > > Currently, in matches.cfg, "Title *bla ..." will match any title > > with "bla" in it ... but it should only match if the title ends in > > bla, right? > >

Re: [e-users] e16 regex bugfix

2021-11-12 Thread Kim Woelders
On 11/11/21 21:24, Dennis Nezic wrote: Here's a small patch for regex.c Currently, in matches.cfg, "Title *bla ..." will match any title with "bla" in it ... but it should only match if the title ends in bla, right? Right. Patch looks good to me - pushed to git. By the way, the

Re: [e-users] e16 regex bugfix

2021-11-11 Thread Dennis Nezic
--- regex.c.orig2021-11-11 14:08:55.0 -0500 +++ regex.c 2021-11-11 15:19:47.0 -0500 @@ -102,9 +102,24 @@ i = isafter(i, s, rx2); if (i < 0) return 0; +// Because the for loop will increment i (the index +

[e-users] e16 regex bugfix

2021-11-11 Thread Dennis Nezic
Here's a small patch for regex.c Currently, in matches.cfg, "Title *bla ..." will match any title with "bla" in it ... but it should only match if the title ends in bla, right? By the way, the indentations in that file are ... weird :P. ___