A parsed, local copy of the string was duplicated instead of the original string which caused the parsing to always fail.