Fixed regexp for example service and entity permissions; double backslashes are only needed in Java Strings because of the Java backslash escaping