using regexpes for the tokens