nickwest has asked for the wisdom of the Perl Monks concerning the following question:
result:$_ = 'aaa bbb ccc ddd ccc eee'; (@qqq) = /(aaa.*?ccc)/g; print join("/n", @qqq);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex (between two words)
by tybalt89 (Monsignor) on Feb 09, 2020 at 15:54 UTC | |
by nickwest (Initiate) on Feb 09, 2020 at 15:59 UTC | |
by LanX (Saint) on Feb 09, 2020 at 21:14 UTC | |
by tybalt89 (Monsignor) on Feb 09, 2020 at 23:23 UTC | |
|
Re: regex (between two words)
by LanX (Saint) on Feb 09, 2020 at 19:37 UTC | |
by LanX (Saint) on Feb 09, 2020 at 22:01 UTC | |
by LanX (Saint) on Feb 09, 2020 at 22:13 UTC | |
|
Re: regex (between two words)
by gurung (Sexton) on Feb 09, 2020 at 18:20 UTC | |
by gurung (Sexton) on Feb 09, 2020 at 18:53 UTC |