well, same question...
which lib?
short example or a link please.
tanks. 6 1403
Oliver Bleckmann skrev:
well, same question...
which lib?
short example or a link please.
http://www.boost.org
tanks.
regular expressions will be part of C++0x - not in perl format but
ECMA. I am no expert here, but so far as I understand the differences
are minor.
/Peter
peter koch a écrit :
Oliver Bleckmann skrev:
well, same question...
which lib?
short example or a link please.
http://www.boost.org
tanks.
regular expressions will be part of C++0x - not in perl format but
ECMA. I am no expert here, but so far as I understand the differences
are minor.
/Peter
As a mater of fact, they are already present in the C++ TR1 (problem is
that the TR1 is not implemented on most compilers; dinkumware has a
TR1-enabled library). Anyway, boost::regex is currently your best bet.
Regards,
-- Emmanuel Deloget, Artware
Oliver Bleckmann wrote:
well, same question...
which lib?
short example or a link please.
tanks.
Section 7 of the Technical Report covers regular expressions in C++. You can
download the Technical Report at: http://www.open-std.org/jtc1/sc22/wg...2005/n1836.pdf
Best
Kai-Uwe Bux
Kai-Uwe Bux wrote:
Oliver Bleckmann wrote:
>well, same question... which lib? short example or a link please. tanks.
Section 7 of the Technical Report covers regular expressions in C++. You can
download the Technical Report at:
http://www.open-std.org/jtc1/sc22/wg...2005/n1836.pdf
And don't forget Clause 28 of the C++ Working Draft, n2134.pdf.
--
-- Pete
Roundhouse Consulting, Ltd. ( www.versatilecoding.com)
Author of "The Standard C++ Library Extensions: a Tutorial and
Reference." ( www.petebecker.com/tr1book)
Emmanuel Deloget wrote:
peter koch a écrit :
Oliver Bleckmann skrev:
well, same question...
which lib?
short example or a link please.
http://www.boost.org
tanks.
regular expressions will be part of C++0x - not in perl format but
ECMA. I am no expert here, but so far as I understand the differences
are minor.
/Peter
As a mater of fact, they are already present in the C++ TR1 (problem is
that the TR1 is not implemented on most compilers; dinkumware has a
TR1-enabled library). Anyway, boost::regex is currently your best bet.
TR1 part can also be downloaded from boost.org , though it is an alpha
release.
Here is the url. http://sourceforge.net/project/showf...kage_id=189383
For GCC recent version is comes with STL.
Regards,
-- Emmanuel Deloget, Artware
On Thu, 30 Nov 2006 11:51:37 +0100, "Oliver Bleckmann" wrote:
>well, same question... which lib? short example or a link please. tanks.
Since nobody has answered the question yet: http://www.pcre.org/
No Boost needed.
Good luck,
Roland Pibinger This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Kenneth McDonald |
last post by:
I'm working on the 0.8 release of my 'rex' module, and would appreciate
feedback, suggestions, and criticism as I work towards finalizing the
API and feature sets. rex is a module intended to make...
|
by: Martin Robins |
last post by:
I am trying to parse a string that is similar in form to an OLEDB connection string using regular expressions; in principle it is working, but certain character combinations in the string being...
|
by: GenoJoe |
last post by:
If you are not new to VB.NET but are new to regular expressions, you need to get a free copy of "Pragmatic Guide to Regular Expressions for VB.NET Programmers". I wrote this guide because all of the...
|
by: Sehboo |
last post by:
Hi,
I have several regular expressions that I need to run against
documents. Is it possible to combine several expressions in one
expression in Regex object. So that it is faster, or will I...
|
by: cleo |
last post by:
I'm experimenting with Regular Expressions and Windows Forms.
Frequently I want a value to be either a valid pattern or empty. For
example a Zip code must be 5 digits or may be empty. I know that...
|
by: Együd Csaba |
last post by:
Hi All,
I'd like to "compress" the following two filter expressions into one -
assuming that it makes sense regarding query execution performance.
.... where (adate LIKE "2004.01.10 __:30" or...
|
by: a |
last post by:
I'm a newbie needing to use some Regular Expressions in PHP.
Can I safely use the results of my tests using 'The Regex Coach'
(http://www.weitz.de/regex-coach/index.html)
Are the Regular...
|
by: Allan Ebdrup |
last post by:
I have a dynamic list of regular expressions, the expressions don't change
very often but they can change. And I have a single string that I want to
match the regular expressions against and find...
|
by: Thomas Dybdahl Ahle |
last post by:
Hi, I'm writing a program with a large data stream to which modules can
connect using regular expressions.
Now I'd like to not have to test all expressions every time I get a line,
as most of...
|
by: Wiseman |
last post by:
I'm kind of disappointed with the re regular expressions module. In
particular, the lack of support for recursion ( (?R) or (?n) ) is a
major drawback to me. There are so many great things that can...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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...
|
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...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |