Accept RegExp for prefix-value.js