Page 1 of 1
[FR] Support des Expression régulieres (REGEXP)
Posted: 2005-08-12 18:35:37
by mmaura
Supperbe travail, notament Ant movie catalog.
En ce qui concerne Renamer, il est limité de part le fait que les seules info dynamique disponible sont les Tags Mp3 ce qui est deja bien.
Mais le support des expression réguliere (pris en charge par Delphi je crois) apporterait une tout autre dimention au programme.
http://www.perl.com/pub/a/2003/06/06/regexps.html
Par exemple:
ma-serie-tele-1x02.avi soumis a
Code: Select all
s/(.*)([0-9])x([0-9]+)\.avi/$1-Saison$2Episode$3/
donnerai ma-serie-tele-Saison1Episode02.avi
Merci
Posted: 2005-08-12 22:31:27
by antp
C'est pas pris en charge par Delphi, mais il y a des composants gratuits qui ajoute cette possibilité.
C'est sur ma to-do list depuis un certain temps, ça arrivera donc un jour

A request for regular expressions support
Posted: 2005-09-11 21:51:55
by mortar
Hello!
Although I do not know French (I intend to learn as a second foreign language next year), I assume that you discuss adding regular expressions to Ant Renamer. I would like to request this myself.
First I must say that I greatly enjoy using Ant Renamer. It's an excellent program. It's powerful, smart, and easy to use. I've tried several other renamers, but this program is simply the best. And it's fast too! My heartfelt congratulations to the talented programmer.
I would like to request a new feature: can you please add regular expressions support? It's very important to me, and very useful.
Example:
suppose I have a bunch of files named:
Pink Floyd - The songs name - 02.mp3
And I want them to be:
02 - The songs name.mp3
This is very easy to do with RegExp for large groups of files.
Thanks a lot for everything you do,
and take care,
Mortar
Posted: 2005-09-11 22:04:56
by antp
Hi,
I'll probably add that very soon, since several people ask it to me. I'll try to find somebody that can help me for that since I do not know regexpr. This week I'll probably have time for working a little on that. So even if I do not release a new official version I may post a "beta" version that would include regexpr

Posted: 2005-09-14 09:45:05
by antp
Here is already a beta version with regexp:
viewtopic.php?p=17223#17223