Extract regexp module from the project

See `specs-regexp` npm module.