if (separator = strchr(Z_STRVAL_PP(entry), ';')) {
const char *ptr = separator;
- do {
- ++ptr;
- } while ((*ptr == ' ') || (*ptr == 'q') || (*ptr == '='));
+ while (*++ptr && !isdigit(*ptr));
quality = strtod(ptr, NULL);
identifier = estrndup(Z_STRVAL_PP(entry), separator - Z_STRVAL_PP(entry));