rem: av = /(=|:|<)(.*?)$/.exec(t); t = t.replace(/(=|:|<).*?$/, ''); 
add: av = new RegExp('(=|:|<)(.*?)$').exec(t); t = t.replace(new RegExp('(=|:|<).*?$'), ''); 
context: 	parseRuleStr : function(s) {		var ta, p, r, a, i, x, px, t, tn, y, av, or = tinyMCE.clearArray(new Array()), dv;		if (s == null || s.length == 0)			return or;		ta = s.split(',');		for (x=0; x<ta.length; x++) {			s = ta[x];			if (s.length == 0)				continue;			// Split tag/attrs			p = this.split(/\[|\]/, s);			if (p == null || p.length < 1)				t = s.toUpperCase();			else				t = p[0].toUpperCase();			// Handle all tag names			tn = this.split('/', t);			for (y=0; y<tn.length; y++) {				r = {};				r.tag = tn[y];				r.forceAttribs = null;				r.defaultAttribs = null;				r.validAttribValues = null;				// Handle prefixes				px = r.tag.charAt(0);				r.forceOpen = px == '+';				r.removeEmpty = px == '-';				r.fill = px == '#';				r.tag = r.tag.replace(/\+|-|#/g, '');				r.oTagName = tn[0].replace(/\+|-|#/g, '').toLowerCase();				r.isWild = new RegExp('\\*|\\?|\\+', 'g').test(r.tag);				r.validRe = new RegExp(this._wildcardToRe('^' + r.tag + '$'));				// Setup valid attributes				if (p.length > 1) {					r.vAttribsRe = '^(';					a = this.split(/\|/, p[1]);					for (i=0; i<a.length; i++) {						t = a[i];						av = /(=|:|<)(.*?)$/.exec(t);						t = t.replace(/(=|:|<).*?$/, '');						if (av && av.length > 0) {							if (av[0].charAt(0) == ':') {								if (!r.forceAttribs)									r.forceAttribs = tinyMCE.clearArray(new Array());								r.forceAttribs[t.toLowerCase()] = av[0].substring(1);							} else if (av[0].charAt(0) == '=') {								if (!r.defaultAttribs)									r.defaultAttribs = tinyMCE.clearArray(new Array());								dv = av[0].substring(1);								r.defaultAttribs[t.toLowerCase()] = dv == "" ? "mce_empty" : dv;							} else if (av[0].charAt(0) == '<') {								if (!r.validAttribValues)									r.validAttribValues = tinyMCE.clearArray(new Array());								r.validAttribValues[t.toLowerCase()] = this._arrayToRe(this.split('?', av[0].substring(1)), '');							}						}						r.vAttribsRe += '' + t.toLowerCase() + (i != a.length - 1 ? '|' : '');						a[i] = t.toLowerCase();					}					r.vAttribsRe += ')$';					r.vAttribsRe = this._wildcardToRe(r.vAttribsRe);					r.vAttribsReIsWild = new RegExp('\\*|\\?|\\+', 'g').test(r.vAttribsRe);					r.vAttribsRe = new RegExp(r.vAttribsRe);					r.vAttribs = a.reverse();					//tinyMCE.debug(r.tag, r.oTagName, r.vAttribsRe, r.vAttribsReWC);				} else {					r.vAttribsRe = '';					r.vAttribs = tinyMCE.clearArray(new Array());					r.vAttribsReIsWild = false;				}				or[r.tag] = r;			}		}		return or;	},
meta: 10574	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10574/b88a2b04360b7a262b15c8d6334bb9b5cc5a46d9/tiny_mce.js/clean/wp-includes/js/tinymce/tiny_mce.js