Moved RegEx usages into PlatformDependence (due to GWT)
Added stub for color tinting on web (doesn't work yet)
Added scope pattern for IDEA