Boost logo

Boost Users :

From: john.wismar_at_[hidden]
Date: 2003-05-30 10:59:16


That's it exactly. And your explanation was a lot more succinct than
mine, too! Thanks.

------------------------------
John Wismar
BSA - AllData Offline Products
john.wismar_at_[hidden]

> -----Original Message-----
> From: Jim.Hyslop [mailto:jim.hyslop_at_[hidden]]
> Sent: Friday, May 30, 2003 6:10 AM
> To: 'Boost-Users_at_[hidden]'
> Subject: RE: [Boost-Users] Regex: matching either of 2
> fields, in any orde r
>
>
> John Maddock wrote:
> [unknown] wrote (please try to attribute quotes)
> > > I can see how I could do this in a loop to replace the different
> > > subfields. Is there another step I would need to take to
> > > guarantee that
> > > there is at most one of each type of subfield?
> >
> > Well if you search for "C(\\d+)|O(\\w+)" it can only match
> > one or the other
> > can't it? Or am I missing something?
> I could be wrong, but I interpreted the OP's question to mean: is it
> possible to have the regex generate an error if more than one
> sub-field of a
> specific type is found, i.e. the following would be invalid:
>
> ~C123~C345
>
> The original poster can correct me if I've misinterpreted anything.
>
> --
> Jim
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Get A Free Psychic Reading! Your Online Answer To Life's
> Important Questions.
> http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/EbFolB/TM
> --------------------------------------------------------------
> -------~->
>
> Info: <http://www.boost.org>
> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
> Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net