HW Regular Expressions