[mythtv] Regular expressions for program matching

Geoffrey Hausheer ou401cru02 at sneakemail.com
Mon Nov 3 17:46:34 EST 2003


On Mon, 3 Nov 2003 15:19:09 -0500 (EST), "Chris Pinkham" said:
> The like needs a % to match anything that's not exactly equal though, so
> if I put in "Jaws" then it won't match "Jaws 2", but "Jaws %" would
> match "Jaws 2".
Ahh.  mysql.com was down, so I couldn't check the syntax.  Google
informed me that 'like' was what I needed, but I didn't know exactly how
to use it.  Anyhow, that makes a better case for not needing to switch on
regex matching.  I do wonder how often programs with '%' in them occur
though.  I could see getting some annoyed messages about myth recording
stuff not wanted because they tried to record something called '100%'.

> One of those things that I noticed a while back but wouldn't have a clue
> if it were changed one day because I just hit Enter -> Down -> Enter
> to watch a recording, Enter -> Right -> Enter -> Left to schedule a new
> one, etc.. :)  That's using blue though.  Ought to checkout some of the
> other themes one day.  No reason a theme has to say "Fix Conflicts".
Well I think it is more than just changing the button label, it is an
overall organization issue.  But not one I'm willing to tackle.

I'll try to throw together a patch for mythbackend and mythweb tommorow
(tonight's plan involves heavy drinking of fine belgian beers, so
probably no coding for me).

.Geoff


More information about the mythtv-dev mailing list