mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-14 02:11:49 +00:00
Merge pull request #1331 from cptran777/urn-dolla-dolla-validator
Modify regex test for urn to allow dollar signs in pathname
This commit is contained in:
commit
2509b1ce77
@ -5,7 +5,7 @@ import { DatasetPlatform, Fabric, isDatasetFabric } from 'wherehows-web/constant
|
|||||||
* Path segment in a urn. common btw WH and LI formats
|
* Path segment in a urn. common btw WH and LI formats
|
||||||
* @type {RegExp}
|
* @type {RegExp}
|
||||||
*/
|
*/
|
||||||
const urnPath = /[\w.\-\/{}+()\s\*]+/;
|
const urnPath = /[\w.$\-\/{}+()\s\*]+/;
|
||||||
/**
|
/**
|
||||||
* Matches a url string with a `urn` query. urn query with letters or underscore segment of any length greater
|
* Matches a url string with a `urn` query. urn query with letters or underscore segment of any length greater
|
||||||
* than 1 followed by colon and 3 forward slashes and a segment containing letters, {, }, _ or /, or none
|
* than 1 followed by colon and 3 forward slashes and a segment containing letters, {, }, _ or /, or none
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user