changed regexps to accept diacritics

This commit is contained in:
mmacierzanka committed 2021-09-05 18:33:11 +02:00
1 parent 05df486add
commit 7b5e70be30
5 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ export class Parameter {
public readonly choices?: string[];
public static nameRegExp: RegExp = /^[\w-]{1,32}$/;
public static descriptionRegExp: RegExp = /^[a-zA-Z0-9_ ]{1,100}$/;
public static descriptionRegExp: RegExp = /^.{1,100}$/;
constructor(options: ParameterSchema) {
this.name = options.name;