Open nanozuki opened 3 years ago
@laxect Do we need user to write whole name string, include extension name? (or just filename or just substring)
is ep
or sp
some sort of predefined syntax?
is
ep
orsp
some sort of predefined syntax?
ep
for episode number, sp
for special episode number.
For example, episode = ひぐらしのなく頃に 業 EP{ep}.mp4
will match ひぐらしのなく頃に 業 EP01.mp4
, ひぐらしのなく頃に 業 EP05.mp4
.
is
ep
orsp
some sort of predefined syntax?
ep
for episode number,sp
for special episode number.For example,
episode = ひぐらしのなく頃に 業 EP{ep}.mp4
will matchひぐらしのなく頃に 業 EP01.mp4
,ひぐらしのなく頃に 業 EP05.mp4
.
well then consider using episode
instead of ep
, special
instead of sp
?
well then consider using
episode
instead ofep
,special
instead ofsp
?
"ep" and "sp" is common abbr in this situation and already used in dantalian.
What about support template without droping regex support?
What about support template without dropping regex support?
Considering backward compatibility, the support of regex will continue. I am thinking what is the priority if template string and regex are configured both? To report an error is also a choice in this case.
What about support template without dropping regex support?
Considering backward compatibility, the support of regex will continue. I am thinking what is the priority if template string and regex are configured both? To report an error is also a choice in this case.
Just use regex and print a warn?
Regular expression is too hard to write, use and debugging, even to exprienced developers! So I want to use template string to configure episode to replace reguar expression.
for more complex example:
for sp: