stream-markdown-parser 0.0.63 → 0.0.64

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/index.js CHANGED
@@ -9004,7 +9004,7 @@ function findCodeSpanRangeAt(ranges, index) {
9004
9004
  function isLikelyCurrencyRangeDollar(content, nextChar) {
9005
9005
  const stripped = String(content ?? "").trim();
9006
9006
  if (!stripped) return false;
9007
- if (!/^\d[\d,.]*(?:\s*[~~-]\s*)$/.test(stripped)) return false;
9007
+ if (!/^\d[\d,.]*\s*[~~-]\s*$/.test(stripped)) return false;
9008
9008
  return /\d/.test(String(nextChar ?? ""));
9009
9009
  }
9010
9010
  function isLikelyPlaceholderDollar(content) {