comp.lang.ada
 help / color / mirror / Atom feed
From: Michael Andersson <michael@ida.his.se>
Subject: Regular expressions???
Date: Fri, 29 Jun 2001 11:23:07 +0200
Date: 2001-06-29T09:23:09+00:00	[thread overview]
Message-ID: <3B3C48FB.E40ECFA9@ida.his.se> (raw)

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



             reply	other threads:[~2001-06-29  9:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-29  9:23 Michael Andersson [this message]
2001-06-29 10:05 ` Regular expressions??? 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
replies disabled

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