-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Punctuation glitch #3
Comments
Yes, I've noticed some cases where the program didn't work correctly as well, I'm going to look into it :) |
So I just finished reworking the regex extraction algorithm, and put it in its own crate (see https://crates.io/crates/auto-regex). Can you compile the newest version and try again ? If it doesn't work I'd like to take a look at the actual file names if possible :) |
Looking at the info in the terminal, it's just making three capture groups. But it isn't treating the comma as one of the capture groups.
Every other file in the folder becomes:
Where ${3} is the last word in the name for that file and minus whatever comma I tried to delete.
|
Mh I think I see what's happening, I'll do another pass on it :) |
Ok so it turns out this is very hard to "fix" as the program was not intended to allow modification of the "variable parts" in the titles, and the name of the episode is definitely a "variable part". What would you expect the program to do to the other files if you take out a comma in the title ? |
I don't know if you're still working on this. Or if this is an issue, or just something I'm doing wrong.
I tried removing a comma from the middle of the title of a series episode and the preview showed it was going to put that title on every episode in the folder. When I put the comma back, the preview reverted to the correct titles. The series name and episode numbers were all correct. It just wanted to spam the same title across all episodes.
The text was updated successfully, but these errors were encountered: