Allow hash in file naming pattern (#2062)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ export class FileNamingPatternComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
validatePattern(pattern: string): boolean {
|
validatePattern(pattern: string): boolean {
|
||||||
const validPatternRegex = /^[\w\s\-{}\[\]\/().<>.,:'"]*$/;
|
const validPatternRegex = /^[\w\s\-{}\[\]\/().<>.,:'"#]*$/;
|
||||||
return validPatternRegex.test(pattern);
|
return validPatternRegex.test(pattern);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user