On Tue, 11 Oct 2011, Thiago Macieira wrote: > So maybe the solution is a hybrid: dlopen V8 where it is available, fall back > to libpcre otherwise. And crash if none is found. That means using regexps > will cause a library to be loaded, one that can be as big as V8. > > What does everyone think?
As these two are surely not compatible this does not sound like an attractive solution. While I've been fighting with the UTF8-character of PCRE myself I still liked the library: it's relatively small, extremely portable, independant. *And* has an author that is happy to apply enhancements. I bet he wouldn't have minded Apple's UTF-16 patches either if done right. One general thing to stress when talking about the reuse of RegExp engines meant for JS interpreters: these work differently than e.g. Perl and current RegExp. Maybe in some corner cases. But still a thing to consider as it might break code and look odd to non-JS users. Hmmm. Didn't want to wake up the topic of the other thread again ;) Harri. _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
