Archived
changed regexps to accept diacritics
This commit is contained in:
1 parent
05df486add
commit
7b5e70be30
5 files changed
+4
-5
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user