接口 StringNodeRule {
    模式: 字符串 | RegExp;
    替换?: 字符串;
    类型?: "pattern";
}

属性

模式: 字符串 | RegExp
替换?: 字符串
类型?: "pattern"