whereto/whereto
Zane Bitter 797cb67a37 Use PCRE instead of Python's re for RedirectMatch tests
Previously, RedirectMatch rules were evaluated using Python's re regexp
module. However, Apache httpd uses the PCRE library for evaluating
regular expressions,[1] and there are subtle differences between the
Python and PCRE implementations. Using the PCRE library itself (via the
pcre-python binding) provides more representative results, and hence
more confidence to the user that any rules that pass whereto's tests
will work in the same way in a real Apache configuration.

[1] https://httpd.apache.org/docs/trunk/glossary.html#regex

Change-Id: Ibef3376d9da0688d0c97f5837dacc5b7cc52431c
2017-11-09 09:57:27 -05:00
..
tests Use PCRE instead of Python's re for RedirectMatch tests 2017-11-09 09:57:27 -05:00
__init__.py Initial Cookiecutter Commit. 2017-08-23 11:16:01 -04:00
app.py add support for testing paths are not redirected 2017-10-11 14:58:49 -04:00
parser.py fix test parsing for 410 tests 2017-10-11 12:59:01 -04:00
rules.py Use PCRE instead of Python's re for RedirectMatch tests 2017-11-09 09:57:27 -05:00