lilac.py for python-regex-hg