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
Madison, WI
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Regex help
by ikegami (Patriarch) on Oct 25, 2004 at 22:07 UTC | |
by ikegami (Patriarch) on Oct 25, 2004 at 22:37 UTC | |
by C_T (Scribe) on Oct 26, 2004 at 17:44 UTC | |
by ikegami (Patriarch) on Oct 26, 2004 at 18:27 UTC | |
Re: Regex help
by JediWizard (Deacon) on Oct 25, 2004 at 22:30 UTC | |
by Anonymous Monk on Oct 26, 2004 at 14:39 UTC | |
by Happy-the-monk (Canon) on Oct 26, 2004 at 15:04 UTC | |
by TimToady (Parson) on Oct 26, 2004 at 15:40 UTC | |
by olivierp (Hermit) on Oct 26, 2004 at 15:44 UTC | |
by hardburn (Abbot) on Oct 26, 2004 at 15:46 UTC | |
by hv (Prior) on Oct 27, 2004 at 10:40 UTC | |
| |
Re: Regex help
by olivierp (Hermit) on Oct 26, 2004 at 11:06 UTC |
Back to
Seekers of Perl Wisdom