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

Re: Regular Expressions

"Mark Hadfield" <m.hadfield@niwa.cri.nz> writes:

> "Wayne Landsman" <landsman@mpb.gsfc.nasa.gov> wrote in message
> 3AB7BA3E.CA411E1B@mpb.gsfc.nasa.gov">news:3AB7BA3E.CA411E1B@mpb.gsfc.nasa.gov...
> > Of course, one should probably add an English comment to the use of STRGEX
> >
> > ; Find the substring beginning with an "=", followed by any number
> > ; of characters, followed by a quote, followed by any number of
> > ; characters (including double quotes) up to the last single quote.
> > ; Extract from this substring all characters between the first
> > ; and last single quotes.
> So, you're saying that STREGEX is a good thing because (like HISTOGRAM) it
> allows you to write code in which the executable statements are several
> times shorter than the comments required to explain them?

Wouldn't that be APL?


Craig B. Markwardt, Ph.D.         EMAIL:    craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response