mirror of
https://github.com/levywang/avhub.git
synced 2026-02-21 16:57:21 +08:00
Update script.js
This commit is contained in:
parent
d917da36ef
commit
1b22f20ef9
@ -71,7 +71,7 @@ async function searchMagnet() {
|
||||
|
||||
const container = document.getElementById('coverImageContainer');
|
||||
|
||||
const regex = /^[A-Za-z][\w\s]*\d$/;
|
||||
const regex = /^[A-Za-z][\w\s-]*\d$/;
|
||||
|
||||
if (!searchTerm || !regex.test(searchTerm)) {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user