?
Solved

Regular expressions . . .

Posted on 2000-03-02
3
Medium Priority
?
615 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 300 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

777 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