Skip to content

Commit c4bdc69

Browse files
committed
Update wrong file name regex
1 parent be49ed4 commit c4bdc69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extension/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ function overWriteChromeStorage() {
253253
function updateMeetingTitle() {
254254
if (document.querySelector(".u6vdEc")) {
255255
const title = document.querySelector(".u6vdEc").textContent
256-
const invalidFilenameRegex = /^[a-z0-9-_.() ]+$/i;
256+
const invalidFilenameRegex = /[^\w\-_.() ]/g;
257257
return title.replace(invalidFilenameRegex, '_')
258258
}
259259
else

0 commit comments

Comments
 (0)