From: "Russ Cox" <rsc@swtch.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] regular expressions in plan9 different from the ones in unix? (at least linux)
Date: Thu, 22 Feb 2007 18:48:59 -0500 [thread overview]
Message-ID: <ee9e417a0702221548l2caf1a85m276c7b34e2e55b65@mail.gmail.com> (raw)
In-Reply-To: <20070222232117.GA20891@mero.morphisms.net>
> Many unix programs don't use ``extended'' regular expressions by
> default. See regexp(7) on Plan 9 or try egrep/grep -E under Unix.
The Plan 9 regexp library matches the old Unix egrep command.
Any regexp you'd try under Plan 9 should work with new egreps,
though not vice versa -- new egreps tend to have newfangled
additions like [:upper:] and \w and {4,6} for repetition.
Russ
next prev parent reply other threads:[~2007-02-22 23:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-22 22:16 Folkert van Heusden
2007-02-22 23:17 ` Alberto Cortés
2007-02-22 23:21 ` William Josephson
2007-02-22 23:48 ` Russ Cox [this message]
2007-02-23 6:27 ` Composition of regexps (Was re: [9fans] regular expressions in plan9 different from the ones in unix?) Joel Salomon
2007-02-23 6:54 ` William K. Josephson
2007-02-23 13:34 ` Joel C. Salomon
2007-02-23 17:33 ` Russ Cox
2007-02-23 11:19 ` [9fans] regular expressions in plan9 different from the ones in unix? (at least linux) Gorka Guardiola
2007-02-23 12:12 ` erik quanstrom
2007-02-23 12:17 ` Gorka Guardiola
2007-02-23 13:02 ` erik quanstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ee9e417a0702221548l2caf1a85m276c7b34e2e55b65@mail.gmail.com \
--to=rsc@swtch.com \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).