Fixing the first and follow set calculation for regular expressions.