davidfilmer has asked for the wisdom of the Perl Monks concerning the following question:
Masters,
I have a long gnarly regex. I want to break it across several lines of code, and comment each bit. What is the syntax to do this?
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Break a long regex across multiple lines of code, with comments
by stevieb (Canon) on Sep 22, 2015 at 23:00 UTC | |
by AnomalousMonk (Archbishop) on Sep 23, 2015 at 03:19 UTC | |
by stevieb (Canon) on Sep 23, 2015 at 23:43 UTC | |
by davidfilmer (Sexton) on Sep 22, 2015 at 23:24 UTC | |
by Athanasius (Cardinal) on Sep 23, 2015 at 07:59 UTC | |
|
Re: Break a long regex across multiple lines of code, with comments
by neilwatson (Priest) on Sep 23, 2015 at 00:08 UTC | |
|
Re: Break a long regex across multiple lines of code, with comments
by Anonymous Monk on Sep 23, 2015 at 00:21 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |