What support is there for PCRE (Perl Compatible Regular Expressions) in common languages?

It seems that more mainstream languages actually use their own implementation of “Perl-like” regexes than actually use libpcre. Languages that fall into this class include (at the very least) Java, JavaScript, and Python. Java’s java.util.regex library uses a syntax that’s very heavily based on Perl (approx. version 5.8) regexes, including the rules for escaping, the … Read more

Rebuild uwsgi with pcre support

pip install uwsgi -I Won’t recompile the uwsgi binary, it just reinstalls the python egg. You need to rebuild the uwsgi binary with the pcre libraries. sudo apt-get install libpcre3 libpcre3-dev I think the easiest way is just to uninstall uwsgi and then run the pip installer again. pip uninstall uwsgi sudo apt-get remove uwsgi … Read more