I would almost bet that awk and sed both use the C language's regex 
implementation. So I doubt that C (or C++) implements "non greedy" regexps. 
Personally, I like "pcre"s: Perl Compatable Regular Expressions.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Martin Packer
> Sent: Monday, February 06, 2012 11:00 AM
> To: [email protected]
> Subject: Re: Regular Expressions (OMVS)
> 
> Right... This was the kind of workaround for lack of "non 
> greedy" I was 
> thinking of. Wondering what the IBM C++ support for 
> non-greedy (if any) 
> is.
> 
> Martin
> 
> Martin Packer,

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to