473,403 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

regex compilation under VC++

Hi,
I am trying to port some linux code to windows under Visual studio.
The regex package currently used is the GNU regex package which calls
for <strings.h>. This is not found in visual studio. Hence I am in
need of a regex package for visual studio.

I tried
http://ourworld.compuserve.com/homep...ck/regexpp.htm

but I am having some problems with compilation since I also use
STLPort. In this case, I am having problems with compiling the regex
package using vc6-stlport.mak

Any pointers to a regex package compliant with the Stlport would be
greatly appreciated.

Cheers
Ram
Jul 22 '05 #1
2 2701
rs******@bbn.com (Ram Sundaram) wrote in news:cfab9487.0405120657.6289c938
@posting.google.com:
Hi,
I am trying to port some linux code to windows under Visual studio.
The regex package currently used is the GNU regex package which calls
for <strings.h>. This is not found in visual studio. Hence I am in
need of a regex package for visual studio.

I tried
http://ourworld.compuserve.com/homep...ck/regexpp.htm Any pointers to a regex package compliant with the Stlport would be
greatly appreciated.


Have you had a look at the boost libraries (www.boost.org)? They are highly
portable and contain John Maddock's regex module.

Martin
Jul 22 '05 #2
Martin Gieseking <mg******@uos.de> wrote in message news:<Xn***************************@130.133.1.4>.. .
rs******@bbn.com (Ram Sundaram) wrote in news:cfab9487.0405120657.6289c938
@posting.google.com:
Hi,
I am trying to port some linux code to windows under Visual studio.
The regex package currently used is the GNU regex package which calls
for <strings.h>. This is not found in visual studio. Hence I am in
need of a regex package for visual studio.

I tried
http://ourworld.compuserve.com/homep...ck/regexpp.htm

Any pointers to a regex package compliant with the Stlport would be
greatly appreciated.


Have you had a look at the boost libraries (www.boost.org)? They are highly
portable and contain John Maddock's regex module.

Martin


Thanks for the information.
Yeah, I did try boost libraries. I am having some problems in building
them since I use STLPort. Plus, I already have the GNU_regex.c and
GNU_regex.h files and the wrapper classes written. Hence, I thought it
would be cool if the GNU type regex libraries existed for VC++.
Someone had said that they did not have any issues compiling the GNU
regex library under VC++. I am wondering what did they do.

Thanks
Ram
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ideas2050 | last post by:
Observed a compilation error reporting differences between VC++ 6.0 and 7.0 VS .NET 2003. Seeking opinions. Here is the code abbreviated:- main() {
7
by: alphatan | last post by:
Is there relative source or document for this purpose? I've searched the index of "Mastering Regular Expression", but cannot get the useful information for C. Thanks in advanced. -- Learning...
1
by: Paljo | last post by:
Trying to compile VC++ 6 project in VC++ 7 and getting a compiling error, error C2955: '_com_ptr_t' : use of class template requires template argument list Any thoughts? Thanks
2
by: John Grandy | last post by:
Is it advisable to compile a Regex for a massively scalable ASP.NET web-application ? How exactly does this work ? Do you create a separate class library and expose the Regex.Replace() as a...
0
by: Ganapathy | last post by:
I have COM dll code written in VC 6.0. When i tried compiling this code in VC 7, The MIDL cmpiler gets called twice. i.e. it initially compiles fully & immediately a line - 64 bit processing'...
8
by: ftjonsson | last post by:
hello, I was wondering if anyone could tips me on what I am doing wrong when writing the following code: #include <iostream> using namespace std; int main () {
4
by: Henrik Dahl | last post by:
Hello! In my application I have a need for using a regular expression now and then. Often the same regular expression must be used multiple times. For performance reasons I use the...
2
by: GS | last post by:
How can one avoid capturing leading empty or blank lines? the data I deal with look like this "will be paid on the dates you specified. xyz supplier amount: $100.52 when: September 07,...
6
by: | last post by:
Hi all, Sorry for the lengthy post but as I learned I should post concise-and-complete code. So the code belows shows that the execution of ValidateAddress consumes a lot of time. In the test...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.