We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b0977a commit a002600Copy full SHA for a002600
src/shared/constants/regexp.ts
@@ -1,5 +1,5 @@
1
/** Regexp like absolute path in unix and windows OS (e.g. /home) */
2
-export const ABSOLUTE_PATH_PATTERN = /^\/[\w\d ]+[\w\d \/]*/iu;
+export const ABSOLUTE_PATH_PATTERN = /^\/[\w\d ]+(\/[\w\d ]+)*$/iu;
3
4
/** Regexp to table name (e.g. schema.table or namespace1.namespace2.table) */
5
export const TABLE_NAME_PATTERN = /^[\w\d]+(\.[\w\d]+)+$/iu;
0 commit comments