mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-01 13:23:09 +00:00
Modify regex test for urn to allow dollar signs in pathname
This commit is contained in:
parent
db4515e14e
commit
f6ff783d6c
@ -5,7 +5,7 @@ import { DatasetPlatform, Fabric, isDatasetFabric } from 'wherehows-web/constant
|
||||
* Path segment in a urn. common btw WH and LI formats
|
||||
* @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
|
||||
* 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