Author: David Dennerline Date: To: pcre-dev Subject: [pcre-dev] Add #ifdef SUPPORT_UCP to pcre_ucd.c
Would there be any problem with adding a #ifdef SUPPORT_UCP to prevent
including the Unicode character table for pcre_ucd.c? I tried doing this
because I don't need UTF-8 support and it decreases binary size by 50KB. I
saw the GET_UCD() is not called in pcre_dfa_exec() only if SUPPORT_UCP is
called.
The program compiles and links correctly, but I wanted to double-check to
see if there would be any potential instability.
Second, has there ever been any discussion or any plans on trying to
implement a hybrid NFA/DFA engine that would improve performance for
applications that do not require back-references (i.e., substitution) or
other non-DFA friendly constructs. Something like Henry Spencer's Tcl
regular expression parser.
Thanks,
David Dennerline
Software Engineer, IBM Internet Security Systems
Atlanta, GA 30328