[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new version of "less" pager



David wrote:
> Bob Proulx wrote:
> > Austyg wrote:
> >> v451 of "less" is desirable because it adds support for GNU regular
> >> expressions.
> >
> > Hmm...  It does say that in the upstream changelog.
> >
> > I am unfamiliar with GNU regular expressions.  How are they different
> > from either POSIX regular expressions or PCRE (perl compatible regular
> > expressions) both of which are already supported by less?
> 
> Perhaps it refers to the differences mentioned here?
> http://www.regular-expressions.info/gnu.html

I don't think so.  That page is a 3rd party page that is trying to
describe regular expressions in general.  And it has a section that
describes GNU extensions to access EREs from withing BREs.  But less
already implements EREs so that doesn't really apply.  (Things like in
sed and grep which should have BREs but you can get to an ERE by escaping it
such as with "echo foo | grep 'fo\+'" and so forth.)

I guess I could write and ask.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: