Add wildcard to linkedin urn regex check for a dataset id so that logic flow allows wildcards

This commit is contained in:
cptran777 2018-05-04 10:23:17 -07:00
parent 6ae8c0b3e8
commit 4447362c0c

View File

@ -5,7 +5,7 @@ import { DatasetPlatform, Fabric } from 'wherehows-web/constants';
* 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