diff options
Diffstat (limited to 'models-base/src/main/java/org/onap/policy/models/base/PfKey.java')
-rw-r--r-- | models-base/src/main/java/org/onap/policy/models/base/PfKey.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models-base/src/main/java/org/onap/policy/models/base/PfKey.java b/models-base/src/main/java/org/onap/policy/models/base/PfKey.java index 5407030ba..72b8b5844 100644 --- a/models-base/src/main/java/org/onap/policy/models/base/PfKey.java +++ b/models-base/src/main/java/org/onap/policy/models/base/PfKey.java @@ -33,7 +33,7 @@ public abstract class PfKey extends PfConcept { public static final String NAME_REGEXP = "[A-Za-z0-9\\-_\\.]+"; /** Regular expression to specify the structure of key versions. */ - public static final String VERSION_REGEXP = "[A-Za-z0-9.]+"; + public static final String VERSION_REGEXP = "[0-9.]+"; /** Regular expression to specify the structure of key IDs. */ public static final String KEY_ID_REGEXP = "[A-Za-z0-9\\-_\\.]+:[0-9].[0-9].[0-9]"; |