mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-11 02:39:01 +08:00
修复一处typo
This commit is contained in:
parent
a6bf4e5c76
commit
fbfc1084fa
@ -3076,10 +3076,10 @@ function clone(object) {
|
|||||||
function buildRegex(str, ...options) {
|
function buildRegex(str, ...options) {
|
||||||
options = options.join("");
|
options = options.join("");
|
||||||
if (str.startsWith("(?i)")) {
|
if (str.startsWith("(?i)")) {
|
||||||
str = str.substring(4);
|
str = str.substr(4);
|
||||||
return new RegExp(str, 'i' + options);
|
return new RegExp(str, 'i' + options);
|
||||||
} else {
|
} 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