|
From: | Benno Schulenberg |
Subject: | Re: [Nano-devel] [PATCH] syntax: c: change the highlighting of preprocessor directives |
Date: | Mon, 25 Dec 2017 14:23:10 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
Liu, your messages do not reach the nano-devel mailing list. Are you subscribed? Op 22-12-17 om 07:33 schreef Liu Hao:
On 2017/12/22 3:01, Benno Schulenberg wrote:Strange. I would have thought that the stuff in gnulib closely matches the stuff in glibc.Yes, it is \< and \>. At the moment I pass `--with-wordbounds` and `--without-included-regex` to `configure` always, otherwise they won't work on Windows.
But how then have you installed the ripped-out regex part from glibc? Can you show us the full output of a bare ./configure run (without any options) on your Windows machine? Because the idea of gnulib is to allow building on multiple platforms without any need for adjustments. If that isn't working, we need to fix it.
Is the function `fixbounds()` really necessary today? \< and \> are documented on <http://www.bsd.org/regexintro.html> (see chapter Anchors), notwithstanding the absence of alternatives to \`.
Is that web page valid for all BSDs? Because I can find \< and \> for FreeBSD and OpenBSD: https://docs.freebsd.org/info/regex/regex.info.The_Backslash_Character.html https://man.openbsd.org/regex But NetBSD seems to know only [[:<:]] and [[:>:]]: http://netbsd.gw.com/cgi-bin/man-cgi?re_format+7+NetBSD-current And it seems FreeBSD will lose the GNU extensions in the future: https://wiki.freebsd.org/LibRegex Benno
[Prev in Thread] | Current Thread | [Next in Thread] |