Mailinglist Archive: opensuse (2532 mails)

< Previous Next >
Re: [opensuse] regexp -- defference between \< and \b ? (fwd)
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Thu, 1 May 2008 06:24:52 -0700
  • Message-id: <200805010624.52196.rschulz@xxxxxxxxx>
On Wednesday 30 April 2008 23:59, Jan Engelhardt wrote:
On Wednesday 2008-04-30 15:53, Randall R Schulz wrote:
...

I guess it's been a long time since I've read the man page for the
grep family. I didn't realize \b and \B were a part of Gnu grep.

PCRE does not seem to know \<, so \b is what you would want these
days.

I know that. That's my lament.


\< and \> seem archaic, there does not seem to be a \<-based pattern
that could not be expressed with \b.

The old style is more suggestive and if you care about directionality,
they're a lot more concise.


Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References