Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Regex type for filter files

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Seth Alan Woolley <seth AT positivism.org>
  • To: "Sergey A. Lipnevich" <sergey AT sourcemage.org>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Regex type for filter files
  • Date: Wed, 14 Dec 2005 12:04:55 -0800

On Wed, Dec 14, 2005 at 02:55:43PM -0500, Sergey A. Lipnevich wrote:
> Seth Alan Woolley wrote:
> > I just looked at the source code, and libsorcery's filter() function on
> > line 443 of devel sorcery is using basic regular expressions:
> >
> I guess I have to use two lines then... Thanks!

In basic regex you can use \(aaa\|bbb\) too (like your emacs example)

c.f. man 7 regex

--
Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
Quality Assurance Team Leader & Security Team: Source Mage GNU/linux
Linux so advanced, it may as well be magic http://www.sourcemage.org
Key id 63C1E02F = E07A FB0E 5925 CE4A 6526 2AD5 1782 FEC2 63C1 E02F

Attachment: pgpf2UuDArkdx.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page