mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[PR #275] [CLOSED] [Feature] Wildcard model name search. #293
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
low priority
low priority
pull-request
question
waiting for feedback
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DominikDoom/a1111-sd-webui-tagcomplete#293
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/pull/275
Author: @Symbiomatrix
Created: 3/2/2024
Status: ❌ Closed
Base:
main← Head:wildcard📝 Commits (10+)
c4d5dfbUpdate ext_loras.js2f6f25bUpdate ext_lycos.js5eacec1Update ext_styles.jsaa0a0c7Update ext_lycos.js353e58dUpdate ext_styles.js79045a9Update ext_embeddings.js45e874aUpdate ext_hypernets.js298091fUpdate ext_chants.js4c29e1dUpdate ext_chants.jse0cf39eUpdate ext_embeddings.js📊 Changes
6 files changed (+54 additions, -12 deletions)
View changed files
📝
javascript/ext_chants.js(+9 -2)📝
javascript/ext_embeddings.js(+9 -2)📝
javascript/ext_hypernets.js(+9 -2)📝
javascript/ext_loras.js(+9 -2)📝
javascript/ext_lycos.js(+9 -2)📝
javascript/ext_styles.js(+9 -2)📄 Description
This changes all the simple
filterCondition .includestype checks to regex, and escapes all regex chars (probably) except for asterisks to simulate a simple wildcard search. I don't know of a better way in js.Additional notes:
?to., could be nice but I don't generally use that.[ _]replacements in regex instead. And case insensitive.<.or<bla*.) still seems to be ignored, only the second time filters. Might be some other part of the code though, other chars doing fine in the same format.\ -> .*\pattern should do that cleanly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.