Revert error character pointer
Implementation of variable regexp matching