Skip to content

RegexStringLengthCostFactor

const RegexStringLengthCostFactor: 0.25 = 0.25

RegexStringLengthCostFactor is multiplied by a regex pattern length when applying the regex to a string of unit cost.