Fix bug in RegEx parser mixin