Dear All,
I’m looking for analogs of “re_comp” and “re_exec” routines from
<unistd.h> on NT. As you may know, these routines are used for regular
expression handling.
Any tips/guesses will be greatly welcome.
Thank you.
Giga.
–
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Gregory Giguashvili
Software Engineer
Email: xxxxx@ParadigmGeo.com
Tel: 972-9-9709379 Fax: 972-3-9709337
Paradigm Geophysical Ltd.
http://www.math.tau.ac.il/~gregoryg</unistd.h>
Check out this page:
http://ourworld.compuserve.com/homepages/John_Maddock/regexpp.htm
It is a very nice template based regular expression parser that includes support for both single and multibyte (UNICODE) character sets!
Rick Howard
Ontrack Data International, Inc.
-----Original Message-----
From: Giga Giguashvili [mailto:xxxxx@ParadigmGeo.com]
Sent: Thursday, August 17, 2000 7:04 AM
To: NT Developers Interest List
Subject: [ntdev] Regular expressions handler on NT
Dear All,
I’m looking for analogs of “re_comp” and “re_exec” routines from
<unistd.h> on NT. As you may know, these routines are used for regular
expression handling.
Any tips/guesses will be greatly welcome.
Thank you.
Giga.
–
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Gregory Giguashvili
Software Engineer
Email: xxxxx@ParadigmGeo.com
Tel: 972-9-9709379 Fax: 972-3-9709337
Paradigm Geophysical Ltd.
http://www.math.tau.ac.il/~gregoryg
—
You are currently subscribed to ntdev as: xxxxx@ontrack.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)</unistd.h>
Thank you, but I’m not sure I can allow myself messing around with a new library containing templates, even if I’m sure it’s written very
well.
I’d rather comment out those source lines :-).
I would really preffer something “native”.
Regards,
Giga.
xxxxx@ontrack.com wrote:
Check out this page:
http://ourworld.compuserve.com/homepages/John_Maddock/regexpp.htm
It is a very nice template based regular expression parser that includes support for both single and multibyte (UNICODE) character sets!
Rick Howard
Ontrack Data International, Inc.
-----Original Message-----
From: Giga Giguashvili [mailto:xxxxx@ParadigmGeo.com]
Sent: Thursday, August 17, 2000 7:04 AM
To: NT Developers Interest List
Subject: [ntdev] Regular expressions handler on NT
Dear All,
I’m looking for analogs of “re_comp” and “re_exec” routines from
<unistd.h> on NT. As you may know, these routines are used for regular
> expression handling.
> Any tips/guesses will be greatly welcome.
>
> Thank you.
> Giga.
>
> –
> ~
> Gregory Giguashvili
> Software Engineer
> Email: xxxxx@ParadigmGeo.com
> Tel: 972-9-9709379 Fax: 972-3-9709337
> Paradigm Geophysical Ltd.
> http://www.math.tau.ac.il/~gregoryg
>
> —
> You are currently subscribed to ntdev as: xxxxx@ontrack.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
> —
> You are currently subscribed to ntdev as: xxxxx@ParadigmGeo.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
–
~
Gregory Giguashvili
Software Engineer
Email: xxxxx@ParadigmGeo.com
Tel: 972-9-9709379 Fax: 972-3-9709337
Paradigm Geophysical Ltd.
http://www.math.tau.ac.il/~gregoryg</unistd.h>
You might find Snobol4 useful as an external program
for matching/substituting regular expressions (so long as
they are not in Unicode) if your application permits.
See http://www.snobol4.com for info on Snobol4, Spitbol, etc.
At 04:46 PM 8/17/2000 +0200, you wrote:
Thank you, but I’m not sure I can allow myself messing around with a new
library containing templates, even if I’m sure it’s written very
well.
I’d rather comment out those source lines :-).
I would really preffer something “native”.
Regards,
Giga.
xxxxx@ontrack.com wrote:
> Check out this page:
>
> http://ourworld.compuserve.com/homepages/John_Maddock/regexpp.htm
>
> It is a very nice template based regular expression parser that includes
support for both single and multibyte (UNICODE) character sets!
>
> Rick Howard
> Ontrack Data International, Inc.
>
> -----Original Message-----
> From: Giga Giguashvili [mailto:xxxxx@ParadigmGeo.com]
> Sent: Thursday, August 17, 2000 7:04 AM
> To: NT Developers Interest List
> Subject: [ntdev] Regular expressions handler on NT
>
> Dear All,
>
> I’m looking for analogs of “re_comp” and “re_exec” routines from
> <unistd.h> on NT. As you may know, these routines are used for regular
>> expression handling.
>> Any tips/guesses will be greatly welcome.
>>
>> Thank you.
>> Giga.
>>
>> –
>> ~
>> Gregory Giguashvili
>> Software Engineer
>> Email: xxxxx@ParadigmGeo.com
>> Tel: 972-9-9709379 Fax: 972-3-9709337
>> Paradigm Geophysical Ltd.
>> http://www.math.tau.ac.il/~gregoryg
>>
>> —
>> You are currently subscribed to ntdev as: xxxxx@ontrack.com
>> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>>
>> —
>> You are currently subscribed to ntdev as: xxxxx@ParadigmGeo.com
>> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>–
>~
>Gregory Giguashvili
>Software Engineer
>Email: xxxxx@ParadigmGeo.com
>Tel: 972-9-9709379 Fax: 972-3-9709337
>Paradigm Geophysical Ltd.
>http://www.math.tau.ac.il/~gregoryg
>
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@mindspring.com
>To unsubscribe send a blank email to $subst(‘Email.Unsub’)</unistd.h>
On Thursday 17 August 2000 Giga Giguashvili wrote:
Thank you, but I’m not sure I can allow myself messing around with a
new library containing templates, even if I’m sure it’s written very
well. I’d rather comment out those source lines :-).
I would really preffer something “native”.
Win32 doesn’t support the use of <unistd.h>, so however much you’d
like it you don’t have the option of “platform independent” regex
matching. (To be honest, I wouldn’t count any regex functions as
“standard” wherever you find them under your particular UNIX. IMHO
they’re almost certainly a proprietary extension anyway.) You’re going
to have to choose some form of external library.
Which one you choose is your option.
There are many available for download - use any search engine and
you’ll hit many.
Two I’d recommend are Perl, which you can either invoke as an external
script, or if you can spare the time to learn, embed as an internal
API.
The other obvious option is that Windows Scripting now has an
Automation based regex parser as standard. You can probably
instantiate this object from normal code, if not you can embed a very
simple scripting engine (look up IActiveScript) which will let you
invoke it.
Other engines will have the advantage of closer integration with
C/C++, but active scripting is probably more available on most Windows
boxes.
John
–
you gave me something that i could touch in a world where i’d had too much
something i could feel with my broken hands full of lost ideals but soon i’m
returning to you my friend and we’ll go where the rivers end in the silver sea
and i’ll carry you if you carry me</unistd.h>