01-05-98 01:17 AM
Nasser (nabbasi @ EARTHLINK.NET) wrote:
>>Perl has reqular expression build into it, Ada does not have a reqular
>>expression API or package as part of the standard language, unless one
>>can find such a package, any one knows of one?
>>Nasser
Standard Ada does not have a such a package, but GNAT has a package that
will
give you SPITBOL patterns, which are a superset of what Perl gives
you (GNAT.Spitbol.Patterns). I am using those to do an application which
is
similar to one that was originally done in Perl, and they are just great!
They
are well enough commented in the headers to use, even if you do not know
Snobol/Spitbol.
Bruce
[log in to unmask] |Voice (604)231-2409
MacDonald Dettwiler |FAX (604)278-3469
13800 Commerce Parkway |Team Ada
Richmond, BC, Canada V6V 2J3 |Team OS/2