Simplify Enumerator module interface

Enumerator now only operates on strings. Internal representation of
regular expression has been hidden into Parser module.

If internal representation s needed, it can be obtained by directly
using interface of Parser module.