A regular expression (over alphabet ) is a string consisting of:

  • symbols from
  • and symbols from .