I want to read CSV files in C++ using regular expressions. The following Perl5 regular expression works well for this purpose
((?<=\")[^\"](?=\"(,|$)+)|(?<=,|^)[^,\"](?=,|$))
C++11 regular expressions do not support the Perl5 regular expressions grammar (Boost regex does but I cannot use it for other reasons). So I need a way to convert the Perl5 regexes to ECMAscript. Are there any tools available which can automatically do this.
mardi 29 mars 2016
Transform Perl5 regular expression to equivalent ECMAscript regular expression
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire