feature: also print out the offset for the position in the user regex string where the syntax error happens.