comp.lang.ada
 help / color / mirror / Atom feed
* Regular expressions???
@ 2001-06-29  9:23 Michael Andersson
  2001-06-29 10:05 ` David C. Hoos, Sr.
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Michael Andersson @ 2001-06-29  9:23 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-07-04  4:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox