On 8/17/06, Ray Denenberg, Library of Congress <[log in to unmask]> wrote:
> From: "Adam Dickmeiss" <[log in to unmask]>
> > I don't think we'll be implementing it.. Regular expressions suit us
> > fine at this point. AFAIK.
>
> The reason for the proposal in the first place was to support subfield
> queries like:
> marc.533$7=/substring="1:4" 1992
> to search (in this example) on year of publication.
> (All other hypothetical uses of substring are speculative at this point.)
>
> How would you accomplish this query with a regular expression?
If the regex engine is sufficiently robust:
marc.553$7=/~=^\d{4} 1992
That's assuming that ~ is the regex modifier, which it probably isn't... :)
>
> --Ray
>
--
Mike Rylander
[log in to unmask]
GPLS -- PINES Development
Database Developer
http://open-ils.org
|