Solved

Regular expressions . . .

Posted on 2000-03-02
3
607 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 51
Turn a spreadsheet into a vba executable. 2 95
Hibernate methods 2 77
moto 4g phone enable finger print 4 26
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

827 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