lib/action/reflectCSSValue.js
function getReflectedCSSName(name) {
		name = cssEditTree.baseName(name);
		var vendorPrefix = '^(?:\\-\\w+\\-)?', m;
		
		if ((name == 'opacity' || name == 'filter') && prefs.get('css.reflect.oldIEOpacity')) {
			return new RegExp(vendorPrefix + '(?:opacity|filter)$');
		} else if ((m = name.match(/^border-radius-(top|bottom)(left|right)/))) {
			// Mozilla-style border radius
			return new RegExp(vendorPrefix + '(?:' + name + '|border-' + m[1] + '-' + m[2] + '-radius)$');
		} else if ((m = name.match(/^border-(top|bottom)-(left|right)-radius/))) { 
			return new RegExp(vendorPrefix + '(?:' + name + '|border-radius-' + m[1] + m[2] + ')$');
		}
		
		return new RegExp(vendorPrefix + name + '$');
	}
function getReflectedCSSName(name) {
		name = cssEditTree.baseName(name);
		var vendorPrefix = '^(?:\\-\\w+\\-)?', m;
		
		if ((name == 'opacity' || name == 'filter') && prefs.get('css.reflect.oldIEOpacity')) {
			return new RegExp(vendorPrefix + '(?:opacity|filter)$');
		} else if ((m = name.match(/^border-radius-(top|bottom)(left|right)/))) {
			// Mozilla-style border radius
			return new RegExp(vendorPrefix + '(?:' + name + '|border-' + m[1] + '-' + m[2] + '-radius)$');
		} else if ((m = name.match(/^border-(top|bottom)-(left|right)-radius/))) { 
			return new RegExp(vendorPrefix + '(?:' + name + '|border-radius-' + m[1] + m[2] + ')$');
		}
		
		return new RegExp(vendorPrefix + name + '$');
	}
function getReflectedCSSName ( name ) { name = cssEditTree . baseName ( name ) ; var vendorPrefix = '^(?:\\-\\w+\\-)?' , m ; if ( ( name == 'opacity' || name == 'filter' ) && prefs . get ( 'css.reflect.oldIEOpacity' ) ) { return new RegExp ( vendorPrefix + '(?:opacity|filter)$' ) ; } else if ( ( m = name . match ( / ^border-radius-(top|bottom)(left|right) / ) ) ) { // Mozilla-style border radius return new RegExp ( vendorPrefix + '(?:' + name + '|border-' + m [ 1 ] + '-' + m [ 2 ] + '-radius)$' ) ; } else if ( ( m = name . match ( / ^border-(top|bottom)-(left|right)-radius / ) ) ) { return new RegExp ( vendorPrefix + '(?:' + name + '|border-radius-' + m [ 1 ] + m [ 2 ] + ')$' ) ; } return new RegExp ( vendorPrefix + name + '$' ) ; }
Returns regexp that should match reflected CSS property names
@param {String} name Current CSS property name
@return {RegExp}
Returns regexp that should match reflected CSS property names