diff --git a/reframe/schemas/config.json b/reframe/schemas/config.json index 668cac0ee..55c30f424 100644 --- a/reframe/schemas/config.json +++ b/reframe/schemas/config.json @@ -5,11 +5,11 @@ "defs": { "alphanum_string": { "type": "string", - "pattern": "([a-zA-Z_][a-zA-Z0-9_]*)" + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" }, "alphanum_ext_string": { "type": "string", - "pattern": "([a-zA-Z_]([a-zA-Z0-9_]|-)*)" + "pattern": "^[a-zA-Z_](?:[a-zA-Z0-9_-])*$" }, "system_ref": { "type": "array",