Regular Task Analysis using Regular Expression Matching