regexp

Peter L. Peres plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Sun Apr 25 17:53:55 UTC 2004


On Sat, 24 Apr 2004, John Macdonald wrote:

> could be written as:
>
> 	if ( /=<(?!foo\@bar\.baz)([^>]*)>/ )  {
> 		print "got it = (\Q$1\E)";
> 	}
>

Ok, thank you very much. I was not so clear about what happens to the
chunk that matches the ?! part.

Peter
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list