http://qs321.pair.com?node_id=402358

C_T has asked for the wisdom of the Perl Monks concerning the following question:

There must be a way to do this, but I have not been able to locate anything.

I need to match (e.g.) B38-B49... that is B38, B39, B40, B41...B49.

I'm not sure how to tell it to do this, however, since 30-37 shoudn't match. I tried using the (?(condition)regex) syntax, but must be misunderstanding the doc because it's not working for me.

Anyone have a way to do this?

Thanks,

CT

Charles Thomas
Madison, WI