diff --git a/modulecheck/app.json b/modulecheck/app.json index cb802ce6c3b31c2645715a3ba0d18a16dba196b0..4847bba7d3ba3075a63fe802aa2f7264eb655ecc 100644 --- a/modulecheck/app.json +++ b/modulecheck/app.json @@ -120,7 +120,7 @@ "type": "string", "maxLength": 128, "minLength": 7, - "pattern": "^[a-zA-Z][0-9a-zA-Z_.]+$" + "pattern": "([a-zA-Z]|[a-zA-Z]+(_*[0-9a-zA-Z])+)(\\.[0-9a-zA-Z]|\\.[0-9a-zA-Z]+(_*[0-9a-zA-Z])+){2,}" }, "bundleType": { "description": "Indicates the type of bundle", @@ -277,7 +277,7 @@ "type": "string", "maxLength": 128, "minLength": 7, - "pattern": "^[a-zA-Z][0-9a-zA-Z_.]+$" + "pattern": "([a-zA-Z]|[a-zA-Z]+(_*[0-9a-zA-Z])+)(\\.[0-9a-zA-Z]|\\.[0-9a-zA-Z]+(_*[0-9a-zA-Z])+){2,}" }, "targetPriority": { "description": "Indicates the priority of the overlay module. 1 to 100, default value is 1.", diff --git a/modulecheck/module.json b/modulecheck/module.json index 4711ca8bcd33a811b221b5678de77aaa5ab14d57..7c5861d71798b5ffebb1701229237e9d1d01f852 100644 --- a/modulecheck/module.json +++ b/modulecheck/module.json @@ -1229,7 +1229,7 @@ "type": "string", "maxLength": 128, "minLength": 7, - "pattern": "^[a-zA-Z][0-9a-zA-Z_.]+$" + "pattern": "([a-zA-Z]|[a-zA-Z]+(_*[0-9a-zA-Z])+)(\\.[0-9a-zA-Z]|\\.[0-9a-zA-Z]+(_*[0-9a-zA-Z])+){2,}" }, "moduleName": { "description": "Indicates the module name of the dependency shared library.",