Regex (attribution: http://www.cse.yorku.ca/~oz/regex.bun)