Scope name validation regex allows single quotes
The scope validation regex for atlas/generic/icecube (but not cms) allows single quotes, which seems like a bad idea.

`"^[a-zA-Z'_'-.0-9]{1,%s}$" % SCOPE_LENGTH` looks wrong, and I'm guessing it ought to be `"^[a-zA-Z_\\\\-.0-9]{1,%s}$" % SCOPE_LENGTH`. Unless someone really does have this requirement?
diff --git a/lib/rucio/common/schema/atlas.py b/lib/rucio/common/schema/atlas.py
index cf1128a74..7c398217e 100644
--- a/lib/rucio/common/schema/atlas.py
+++ b/lib/rucio/common/schema/atlas.py
@@ -52,7 +52,7 @@ SCOPE_LENGTH = 25
 
 SCOPE = {"description": "Scope name",
          "type": "string",
-         "pattern": "^[a-zA-Z'_'-.0-9]{1,%s}$" % SCOPE_LENGTH}
+         "pattern": "^[a-zA-Z_\\\\-.0-9]{1,%s}$" % SCOPE_LENGTH}
 
 R_SCOPE = {"description": "Scope name",
            "type": "string",
diff --git a/lib/rucio/common/schema/generic.py b/lib/rucio/common/schema/generic.py
index 62d9f2e5c..97fa9c5cc 100644
--- a/lib/rucio/common/schema/generic.py
+++ b/lib/rucio/common/schema/generic.py
@@ -49,7 +49,7 @@ SCOPE_LENGTH = 25
 
 SCOPE = {"description": "Scope name",
          "type": "string",
-         "pattern": "^[a-zA-Z'_'-.0-9]{1,%s}$" % SCOPE_LENGTH}
+         "pattern": "^[a-zA-Z_\\\\-.0-9]{1,%s}$" % SCOPE_LENGTH}
 
 R_SCOPE = {"description": "Scope name",
            "type": "string",
diff --git a/lib/rucio/common/schema/icecube.py b/lib/rucio/common/schema/icecube.py
index adcc87a6b..d2efd2348 100644
--- a/lib/rucio/common/schema/icecube.py
+++ b/lib/rucio/common/schema/icecube.py
@@ -50,7 +50,7 @@ SCOPE_LENGTH = 25
 
 SCOPE = {"description": "Scope name",
          "type": "string",
-         "pattern": "^[a-zA-Z'_'-.0-9]{1,%s}$" % SCOPE_LENGTH}
+         "pattern": "^[a-zA-Z_\\\\-.0-9]{1,%s}$" % SCOPE_LENGTH}
 
 R_SCOPE = {"description": "Scope name",
            "type": "string",
['lib/rucio/common/schema/icecube.py', 'lib/rucio/common/schema/generic.py', 'lib/rucio/common/schema/atlas.py']