User:PleaseStand/segregate-refs-dev.js: Difference between revisions

Content deleted Content added
m fixing bug in regex
m fixed regex
Line 136:
getAttributes: function getAttributes() {
// In this regex, we need to extract a single name-value pair at a time.
var attParseRegex = /\s([^\s=>]+)\s*=\s*("[^"]*"|'[^']*'|[^\s"']*)/g;
if(!this.parsedRef) {
return null;