Add support for as: Regexp

closes #132