GONMarkupParser
GONMarkupParser copied to clipboard
extract attributes RegExp question
Another question about extract attributes regexp in code below:
([^\\s=]+)\\s*=\\s*('(\\\\'|[^']*')|\"(\\\\\"|[^\"])*\")
why not is below:
([^\\s=]+)\\s*=\\s*('(\\\\'|[^'])*'|\"(\\\\\"|[^\"])*\")
Hi, in fact, I didn't write it, but found it on the web, so i did assume it was correct after testing it on numerous expressions. Did you find a case were my regex fail to extract attributes ? Regards