# reEvaluate
# Description
和 reEscape 一样。匹配符合规定的字符串
# Return
regExp
# Code
const reInterpolate = /<%=([\s\S]+?)%>/g
# Analyze
和 reEscape 基本一致
# Example
console.log(reInterpolate.test('<%=reg%>')) // true
← reEvaluate root →
和 reEscape 一样。匹配符合规定的字符串
regExp
const reInterpolate = /<%=([\s\S]+?)%>/g
和 reEscape 基本一致
console.log(reInterpolate.test('<%=reg%>')) // true
← reEvaluate root →