Added parameter to make the scanner more forgiving. If set to true, it will ignore all unrecognized characters instead of throwing a NoMatchError.