Nmap Development mailing list archives

RE2 replaced PCRE(libpcre) ?


From: ryan chou <jkryanchou () gmail com>
Date: Thu, 4 Jun 2015 18:12:23 +0800

Hi All,

   I wonder know could the PCRE regular expressions engine replaced with
the RE2 developed by Russ Cox(Google)? I have read the paper which
introduced the RE2's development and the benchmark between two Engine, And
the RE2's performance was better than PCRE's. (
https://swtch.com/~rsc/regexp/regexp3.html)

   So have any developer consider using RE2 replaced with libpcre to
improve the nmap performance on parsing fingerprint? and i also wonder know
why libpcre become the first choise for nmap services-fingerprint parsing?
why others like boost:regex and so on?
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: