editors/nano problem with nanorc regexps
Christian Weisgerber
naddy at FreeBSD.org
Wed Jun 30 12:56:50 PDT 2004
Jacek Wotka:
> i don't now much about nanos design, never looked into
> the code, but i think the root of this "bug" could be
> a different implementation of regexps on (free)bsd in
> contrast to gnu/linux. i don't know if there's an
> alternative way to express what "\<" and "\>" should do,
> if there is (i didn't find one), then how does it look
> like. if there isn't, i am asking you (maintainer or
> someone else), if it can be fixed.
POSIX doesn't specify any expression to match word boundaries.
\< and \> are GNU extensions. BSD offers [[:<:]] and [[:>:]] for
this, see re_format(7).
--
Christian "naddy" Weisgerber naddy at mips.inka.de
More information about the freebsd-ports
mailing list