@ubercode/dcmtk 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/tools.cjs CHANGED
@@ -710,7 +710,7 @@ async function dcmconv(inputPath, outputPath, options) {
710
710
  }
711
711
  return ok({ outputPath });
712
712
  }
713
- var TAG_OR_PATH_PATTERN = /^\([0-9A-Fa-f]{4},[0-9A-Fa-f]{4}\)(\[\d+\](\.\([0-9A-Fa-f]{4},[0-9A-Fa-f]{4}\)(\[\d+\])?)*)?$/;
713
+ var TAG_OR_PATH_PATTERN = /^\([0-9A-Fa-f]{4},[0-9A-Fa-f]{4}\)(\[\d+\])?(\.\([0-9A-Fa-f]{4},[0-9A-Fa-f]{4}\)(\[\d+\])?)*$/;
714
714
  var TagModificationSchema = zod.z.object({
715
715
  tag: zod.z.string().regex(TAG_OR_PATH_PATTERN),
716
716
  value: zod.z.string()