Solved

Regular expressions . . .

Posted on 2000-03-02
3
600 Views
Last Modified: 2013-12-26
Hi;

In Solaris when I need do some regular expressions processing within a C
program, I can use regcmp() and regex().

I'd like to know if there's something like that in Linux.

If there's something like regcmp() and regex() in Linux, I'd be glad if some examples were provided.

Thanks in advance

Reginaldo
0
Comment
Question by:rdelfino
  • 2
3 Comments
 

Expert Comment

by:time4tea
ID: 2577721
You can use regcomp() and regexec()

( I just did a ls /usr/man/man3/r* to find this out.... )

0
 
LVL 2

Author Comment

by:rdelfino
ID: 2577816

Thanks.

Could you send me examples?

Reginaldo
0
 

Accepted Solution

by:
time4tea earned 100 total points
ID: 2579371
Urm, no I've never used the functions... I assume they are not a million miles different from how you have previously used them in Solaris!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Installing Microsoft R server on REDHAT or SUSE Linux 4 125
ORA-01403: no data found 43 83
iSeries DB2 Query 2 84
while loop over for loop 7 79
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now