comp.lang.ada
 help / color / mirror / Atom feed
* Pattern matching
@ 1997-10-07  0:00 Neil Goodgame
  1997-10-08  0:00 ` Matthew Heaney
  0 siblings, 1 reply; 5+ messages in thread
From: Neil Goodgame @ 1997-10-07  0:00 UTC (permalink / raw)



Any Ada packages available to do grep/perl style pattern matching using
regular expression.

NG
-- 
======================================================
Neil Goodgame			Smithkline Beacham
Neil_Goodgame-1@sbphrd.com	
======================================================




^ permalink raw reply	[flat|nested] 5+ messages in thread
* Pattern Matching
@ 2003-04-20 12:15 bmsv
  2003-04-24 18:22 ` Georg Bauhaus
  0 siblings, 1 reply; 5+ messages in thread
From: bmsv @ 2003-04-20 12:15 UTC (permalink / raw)


Hi.
I have tried to use the Regpat package in order to find occurrences in
a text string. In the packge I read I could get undefined number of
occurrences, but when trying to use it, I says that the variable where
the occurrences will be stored(the Match_array variable) needs
initialization. So is it possible to get an undefined number of
occurrences?
This an example string I have:
city[hotel1,hotel2,hotel3]{restaurant1, restaurant2}
the line could also look like this:
city{restaurant1, restaurant2}[hotel1,hotel2,hotel3]

And I would like to get in one array(or another data type) all the
restaurants, in another one all the hotels and in on single string the
city name.

Any idea how to get this?
thx in advance.



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

end of thread, other threads:[~2003-04-24 18:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-07  0:00 Pattern matching Neil Goodgame
1997-10-08  0:00 ` Matthew Heaney
1997-10-09  0:00   ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
2003-04-20 12:15 Pattern Matching bmsv
2003-04-24 18:22 ` Georg Bauhaus

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