Add support for regex entrypoints

closes #6