(str, charset)
| 127 | options = $.extend(defaults, options); |
| 128 | |
| 129 | function additionalComplexityForCharset(str, charset) { |
| 130 | for (var i = str.length - 1; i >= 0; i--) { |
| 131 | if (charset[0] <= str.charCodeAt(i) && str.charCodeAt(i) <= charset[1]) { |
| 132 | return charset[1] - charset[0] + 1; |
| 133 | } |
| 134 | } |
| 135 | return 0; |
| 136 | } |
| 137 | |
| 138 | function inBanlist(str) { |
| 139 | if (options.banMode === 'strict') { |