JSREI / jQuery-hook

用于快速定位使用jQuery绑定到DOM元素上的事件的代码的真实位置,辅助逆向分析。
MIT License
99 stars 29 forks source link

Refactor isOkVarChar function for simplicity and efficiency #4

Closed mic1on closed 9 months ago

mic1on commented 9 months ago
function isOkVarChar(c) {
    return (/^[a-zA-Z0-9]$/).test(c);
}

通过正则检查单个字符是否为正确的字符。

CC11001100 commented 9 months ago

感谢大佬! LGTM!