MaD dUCK on Fri, 2 Feb 2001 10:40:26 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] regexp???


also sprach Kevin Falcone (on Fri, 02 Feb 2001 09:46:08AM -0500):
> I'm not sure if this is uglier or prettier, but it lets me show off
> the negative look-ahead assertion operator which is cute.
> 
> if (/the (?!house).* is big/)

can this be used in grep? looks more like perl, doesn't it?

martin

[greetings from the heart of the sun]# echo madduck@!#:1:s@\@@@.net
-- 
"maturity is only a short break in adolescence."
                                                      -- jules feiffer


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug