in reply to noob regexpression question

The code you have is missing the final, closing curly brace. If I add that in, this compiles fine.