recluse
06-11-2002, 04:06 AM
I've been struggling with this one for an hour and I guess it looks like I'm not going to get it.
I have multiple playlist files listed in a menu, and I'm trying to find a regex that will match all of the m3u files. Maybe I'm just trying too hard.
Example of menu listings:
[exec] (incubus-make_yourself.m3u) {xmms -p ~/audio/incubus-make_yourself.m3u}
[exec] (papa_roach-infest.m3u) {xmms -p ~/audio/papa_roach-infest.m3u}
[exec] (tantric-tantric.m3u) {xmms -p ~/audio/tantric-tantric.m3u}
[exec] (bush-sixteen_stone.m3u) {xmms -p ~/audio/bush-sixteen_stone.m3u}
of course '[exec]' is the start of every line, in case the fomatting is f00ked.:p
I have multiple playlist files listed in a menu, and I'm trying to find a regex that will match all of the m3u files. Maybe I'm just trying too hard.
Example of menu listings:
[exec] (incubus-make_yourself.m3u) {xmms -p ~/audio/incubus-make_yourself.m3u}
[exec] (papa_roach-infest.m3u) {xmms -p ~/audio/papa_roach-infest.m3u}
[exec] (tantric-tantric.m3u) {xmms -p ~/audio/tantric-tantric.m3u}
[exec] (bush-sixteen_stone.m3u) {xmms -p ~/audio/bush-sixteen_stone.m3u}
of course '[exec]' is the start of every line, in case the fomatting is f00ked.:p