Solved

Regular expressions . . .

Posted on 2000-03-02
3
611 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

719 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