From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 22 Feb 2007 18:48:59 -0500 From: "Russ Cox" 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) In-Reply-To: <20070222232117.GA20891@mero.morphisms.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070222221625.GQ8206@vanheusden.com> <20070222232117.GA20891@mero.morphisms.net> Topicbox-Message-UUID: 12d6cdf0-ead2-11e9-9d60-3106f5b1d025 > 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