comp.lang.ada
 help / color / mirror / Atom feed
From: "R. Srinivasan" <rajasrinivasan@home.com>
Subject: Re: Regular expressions???
Date: Sat, 30 Jun 2001 20:38:33 GMT
Date: 2001-06-30T20:38:33+00:00	[thread overview]
Message-ID: <dNq%6.134145$qc.16017602@news1.rdc1.va.home.com> (raw)
In-Reply-To: 3B3C48FB.E40ECFA9@ida.his.se

you may want to take a look at the "expat" library and the binding i
developed for the expat library. expat library is available from
sourceforge. The binding is available from http://alibrowse.sourceforge.net
Look for adabind-expat.zip

"Michael Andersson" <michael@ida.his.se> wrote in message
news:3B3C48FB.E40ECFA9@ida.his.se...
> Hi!
> I'm trying to write a simple XML-parser and I wonder how regular
> expressions in Ada works. Can I use variables as in Pearl so that these
> are assigned a value according to the values found in the string. Say
> for example that I have a file looking like this:
> <Name="Michael" Phone="7980438" Age="22"/>
> I want to extract Michael, 7989438 and 22 from the string above and
> assign these to some variables. Is it possible to use regular
> expressions in Ada to do this or do I have to use procedure/functions
> from the Ada.Strings package?
>
> Thanks!
> /Michael Andersson





      parent reply	other threads:[~2001-06-30 20:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-29  9:23 Regular expressions??? Michael Andersson
2001-06-29 10:05 ` David C. Hoos, Sr.
2001-06-29 16:13 ` Ray Blaak
2001-07-02  9:54   ` M. A. Alves
2001-07-03  8:25     ` Emmanuel Briot
2001-07-04  4:53       ` Ray Blaak
2001-06-30 14:49 ` Florian Weimer
2001-06-30 20:38 ` R. Srinivasan [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox