Content deleted Content added
PleaseStand (talk | contribs) m fixing bug in regex |
PleaseStand (talk | contribs) 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;
|