useless talk: regex

I work a bit every night on my cmus status_display_program …
I’ve been blocked on the regex filtering for artists names. It’s really strange how regex works, I thought knowing how to do it simply but I got to use a workaround by filtering twice. The first time to remove the separator then a second time to remove the leading and ending spaces.

I’ll refine that later, I have some priorities this month.

–edit: in fact I was searching to solve the problem in the wrong direction. I’m just abscent minded :P

Advertisements