[FR] Support des Expression régulieres (REGEXP)

Comments & Suggestions, if you want a new feature suggest it here
Post Reply
mmaura
Posts: 1
Joined: 2005-08-12 18:26:22

[FR] Support des Expression régulieres (REGEXP)

Post 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
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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 ;)
mortar
Posts: 2
Joined: 2005-09-11 21:43:23

A request for regular expressions support

Post 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
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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 ;)
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Here is already a beta version with regexp: viewtopic.php?p=17223#17223
Post Reply