Simplified the regular expression in the populate method of the GeneralTagTab class in the summary editor.
This commit is contained in:
parent
063c769158
commit
a9908a7df4
@ -613,7 +613,7 @@ class GeneralTagTab extends TagTabPlane {
|
||||
* @override
|
||||
*/
|
||||
populate() {
|
||||
const found = this.editor.summary.value.match(/^([^—]+)—.+?(?:×\d+)?(?:\([^)]+\))?$/);
|
||||
const found = this.editor.summary.value.match(/^([^—]+)—/);
|
||||
if (found === null) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user