[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] can we use REG_STARTEND?
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] can we use REG_STARTEND? |
Date: |
Wed, 18 Jan 2017 17:27:30 +0100 |
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...