[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nano-devel
Subject:    Re: [Nano-devel] can we use REG_STARTEND?
From:       Benno Schulenberg <bensberg () justemail ! net>
Date:       2017-01-18 16:27:30
Message-ID: 1484756850.2459080.851750920.31227C57 () webmail ! messagingengine ! com
[Download RAW message or body]


On Wed, Jan 18, 2017, at 11:21, Mike Frysinger wrote:
> On 15 Jan 2017 19:59, Benno Schulenberg wrote:
> > In order to fix a bug with searching for regexes that contain
> > boundary markers, I have had to resort to using REG_STARTEND.
> 
> unfortunately, that flag is not in POSIX:
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/regcomp.html
> 
> which means, imo, we can use it if it's defined, but we can't hard require it.
> at least as long as we aren't relying on gnulib ...

Okay, then we have a compelling reason to start using gnulib.  :)
Because I don't know how to fix the bug without using REG_STARTEND.

Benno

-- 
http://www.fastmail.com - mmm... Fastmail...


_______________________________________________
Nano-devel mailing list
Nano-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/nano-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic