Solved

Regular expressions . . .

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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