Complete.Org: Mailing Lists: Archives: linux-help: November 2000:
[linux-help] Regexp question
Home

[linux-help] Regexp question

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Regexp question
From: Jesse Kaufman <glandix@xxxxxxxxxxx>
Date: Fri, 10 Nov 2000 17:24:56 -0600 (EST)
Reply-to: linux-help@xxxxxxxxx

Ok, I'm trying to get a regexp working to do the following:

match anything that does not match /foobar.* and return it (ie: using
"()"'s)...  how would someone go about negating an entire regexpression
(if that's what you'd call it..)?

ie:

"/foobar/blah" would match the above
"/foobar" would match the above
"/test" would not, and "/test" would be returned

thanks,
gLaNDix

--
Jesse Kaufman                           |       WebSurf Internet Access
Administration / Web Development        |       www.websurf.net
glandix@xxxxxxxxxxx                     |       Ph: 316.945.7873
www.linuxfreak.com/~glandix             |       Fax: 316.946.9944
--

<<< Vim is a REAL man's text editor.  I don't know why anyone else would
    even bother with sissy programs like emacs, or even worse...  pico!  >>>



-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]