mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 00:09:01 +08:00
修复一处typo
This commit is contained in:
parent
a6bf4e5c76
commit
fbfc1084fa
@ -3076,10 +3076,10 @@ function clone(object) {
|
||||
function buildRegex(str, ...options) {
|
||||
options = options.join("");
|
||||
if (str.startsWith("(?i)")) {
|
||||
str = str.substring(4);
|
||||
str = str.substr(4);
|
||||
return new RegExp(str, 'i' + options);
|
||||
} else {
|
||||
return new RegExp(str + options);
|
||||
return new RegExp(str, options);
|
||||
}
|
||||
}
|
||||
|
||||
|
4
backend/sub-store.min.js
vendored
4
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user