Files
console-dev/app/lib/bandwidth-display.js
T

9 lines
290 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/** 商品文案统一显示“峰值 NMbps”;边界约束避免误改其他标识符或带符号的数值。 */
function e(e) {
return e.replace(
/(?<![A-Za-z0-9_.+−-])(\d+(?:\.\d+)?)\s*Mbps\s*突发峰值带宽(?![A-Za-z0-9_])/gi,
`峰值$1Mbps`,
);
}
export { e as t };