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.
|
|
|
Goto Forum:
Current Time: Sun Apr 27 15:37:05 CEST 2025
Total time taken to generate the page: 0.01950 seconds
|