The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Regular Expressions ramky79 UNIX for Advanced & Expert Users 3 05-21-2008 06:13 PM
regular expressions whatever Shell Programming and Scripting 4 05-20-2007 05:30 PM
Help with regular expressions arushunter Shell Programming and Scripting 13 12-24-2006 12:31 AM
regular expressions jack1981 Shell Programming and Scripting 4 07-12-2006 04:10 PM
Regular Expressions AresMedia Shell Programming and Scripting 1 08-22-2002 04:55 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-02-2003
szzz szzz is offline
Registered User
  
 

Join Date: Oct 2003
Location: Jerusalem
Posts: 12
regular expressions in c++

How do I use the regular expressions in c++?
  #2 (permalink)  
Old 10-02-2003
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,126
Posix defines regcomp(), regexec(), and regerror() so you should use those for new programs. You may also find some older subroutines on your box which you should ignore.

Also look at fnmatch() and glob() which match strings and pathnames to expressions that use shell-like wild card characters.
  #3 (permalink)  
Old 10-06-2003
mbb mbb is offline
Registered User
  
 

Join Date: Aug 2001
Location: UK
Posts: 104
This is a slight digression, but the regular expression functions mentioned are only available in Unix.

Under windows the function names will change and behave a bit differently.

Sorry, can't give you any more details than that because I am only passing on second hand experience of a windows programmer who was trying to port some Unix routines onto Windows.

MBB
Closed Thread

Bookmarks

Tags
regex, regular expressions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:25 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0