Homework 1 Solution


Question 1:

 

Question 2: (one possible solution)

[letter]([letter] | [digit] | [hyphen]([letter] | [digit]))*#[digit]+