A regular expression parser demo based on http://stevehorsfield.wordpress.com/2009/08/04/f-a-complete-regular-expression-processor/