On 20/10/2016 15:48, Jean-Marc Lasgouttes wrote:
Le 18/10/2016 à 18:42, Tommaso Cucinotta a écrit :
So, the problem with Advanced F&R might be: how do we package on Mac OS-X ?
I didn't see an answer to this, yet. Do we package with std::regex on Mac ?
What problem in packaging using boost instead ?
The problem is not regex inset. It is than _internally_, Advanced F&R should
only use std::regex-compatible regexes.
Sure, one thing is what is supposed to be the syntax for users of the inset,
another thing is our internal implementation.
We would like to get eventually get rid of boost if we can.
Tommaso, since regexes are mostly write-only, you are probably the person who
knows best what kind of Perl extensions you like to use.
so the issue would be to double-check whether all regex-es in findadv.cpp can
be converted to std::regex ones. But, is there a common syntax among
boost::regex and std::regex that we can use so that libraries become
interchangeable? Otherwise, if we convert all regexes to std:: syntax, we break
everything with boost.
Otherwise, we would need some Advanced F&R automated tests to checks how well
our regexps behave.
some are already there, see development/autotests/findadv-re-*-in.txt.
T.