in reply to simple pattern match ?

So I find myself with a similar task, a front end to cron. I looked at several of the Crontab related packages on CPAN, but I can't find in them where they do the hairy pattern matching. So, how does one match a pattern line 1-4,5-7,11,20 ?