Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Suggestion for new file name filter
From: Jeff Waltzer (jeffwaltzer_at_yahoo.com)
Date: 2002-10-28


  Don't see what regular expressions get us here. Seems to be its just a
complicated way of doing playlists to me.

--- Nanne Huiges <nanne_at_fmf.nl> wrote:
> >
> > > hmm, regexp might be the best way, but then again maybe hard to do..
> >
> > If anyone could do a user example showing how the configuration should
> be done
> > then the to-be-implementer can use some thoughts from that.
> >
>
> wouldn't it be just as simple te get a "filter" files (maybe more, so
> you
> can have up to n filterfiles (filtern.filt)....
>
> and then have them contain a (perl like) regexp, so you can just do
> something like
>
> s/-(.*)-//
>
> wich would mean (sorry, my perl is abit rusty, so it might be crap)
> any string starting with a - and ending with a - is replaces with
> nothing..
> than you can put recognisable strings in your wps ([b] for band?) so you
>
> can make a
> s/[b](.*)[/b]//
> filter for deleting everything between the [b] [/b] tags...
>
> nanne.
>

=====

---
In theory there is no difference between theory and practice. In practice there is.
    - Yogi Berra

__________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa