From: coolesting Date: 2011-06-30T22:41:58+09:00 Subject: Re: A File Renamer --90e6ba6136c68d91a004a6ee1096 Content-Type: text/plain; charset=ISO-8859-1 And read the API documentation that is the key how to deal with a new language, that is my opinion. 2011/6/30 Jeremy Heiler > On Thu, Jun 30, 2011 at 1:48 AM, Mayank Kohaley > wrote: > > [snip] > > Is there a pattern to the file names you are working with? The key is > to find a pattern and write code to work with that pattern. > > If the pattern requires a lot of heuristics, then it's going to be > more difficult to do, but not impossible. > > For a example, with your previous example, how would you know when the > move name ends and the meta data begins? It might be possible to keep > an array (or a hash) of the meta data, _split_ the file name on some > delimiter (such as a dot) and _filter_ out items that are contained in > the array (or hash). > > --90e6ba6136c68d91a004a6ee1096--