mirror of
https://github.com/vladmandic/automatic
synced 2026-09-15 02:58:44 +02:00
Linting / regex cleanup
This commit is contained in:
@@ -214,8 +214,8 @@ async function filterExtraNetworksForTab(searchTerm) {
|
||||
}
|
||||
|
||||
function tryToRemoveExtraNetworkFromPrompt(textarea, text) {
|
||||
const re_extranet = /<([^:]+:[^:]+):[\d\.]+>/;
|
||||
const re_extranet_g = /\s+<([^:]+:[^:]+):[\d\.]+>/g;
|
||||
const re_extranet = /<([^:]+:[^:]+):[\d.]+>/;
|
||||
const re_extranet_g = /\s+<([^:]+:[^:]+):[\d.]+>/g;
|
||||
let m = text.match(re_extranet);
|
||||
let replaced = false;
|
||||
let newTextareaText;
|
||||
|
||||
Reference in New Issue
Block a user