import { regEx } from '../../../util/regex.ts'; export const denoLandRegex = regEx( /(?:https:\/\/deno.land\/)(?[^@\s]+)(?:@(?[^/\s]+))?(?\/[^\s]*)?/, ); // "deno task" could refer to another task e.g. "deno task npm:build" export const depValueRegex = regEx( /(?:deno task\s+\w+:[^\s]+)|(?\w+):\/?(?@?[\w.-]+(?:\/[\w.-]+)?)(?:@(?[^\s/]+))?\/?/, );