Home » U++ Library support » U++ Core » RegExp support
RegExp support [message #2203] |
Tue, 04 April 2006 00:05  |
hojtsy
Messages: 241 Registered: January 2006 Location: Budapest, Hungary
|
Experienced Member |
|
|
I was playing around with pcre library, and found out that it provides two matching algorithms:
The NFA algorithm (pcre_exec) doesn't find the longest possible match
The DFA algorithm (pcre_dfa_exec) doesn't support backreferences.
I see it as a drawback that pcre can not simulaneously provide these two features. For example boost regex library is able to do that.
I think this aspect should be taken into account before selecting pcre for integration into U++ library.
|
|
|
|
|
|
Re: RegExp support [message #6286 is a reply to message #6281] |
Sun, 05 November 2006 20:57   |
|
I wrote something similar and it's available in uppbox. If you have time please check it. Maybe there is something in my wrapper that isn't in yours (but I doubt it ). Anyway If you could continue your work we could include it in upp as a plugin (pcre is quite good, although some of upp users claim that it lacks some very advanced fetures that are important to them).
|
|
|
|
|
Re: RegExp support [message #7754 is a reply to message #7752] |
Fri, 19 January 2007 10:04  |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
PCRE RegExp support was added to the library month ago.
BTW, about TheIDE: wildcards are nowhere as powerful as full regular expressions, but for 99% of cases, they are quite handy (and perhaps easier to use).
Mirek
[Updated on: Fri, 19 January 2007 10:07] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Apr 27 15:39:05 CEST 2025
Total time taken to generate the page: 0.00514 seconds
|