Regular expressions in R - an introduction