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.
Aucun commentaire:
Enregistrer un commentaire