Simplified the regular expression in the populate method of the GeneralTagTab class in the summary editor.
This commit is contained in:
1 parent
063c769158
commit
a9908a7df4
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user