in reply to Re^2: example of 'm / / m' related example and compare to 'm / / s'
in thread PERL regex modifiers for m//
Hm. That's like advocating always taking a swimsuit & sunblock and a raincoat & umbrella cos it saves listening to the weather forecast. More than slightly ridiculous.
The very reason it is hard, even for long-time Perlers with scads of frequent regex user miles, to remember which (/s /m) does what, is because they are so rarely required.
So what could possibly be wrong with advocating their use at all times?
For a start, you're crying wolf. By using them everywhere they become the norm, and after a while people stop asking themselves why is he using that here. And that is bad.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: example of 'm / / m' related example and compare to 'm / / s'
by Anonymous Monk on Nov 29, 2011 at 19:17 UTC | |
by BrowserUk (Patriarch) on Nov 29, 2011 at 19:48 UTC | |
by Anonymous Monk on Dec 04, 2011 at 07:23 UTC | |
by BrowserUk (Patriarch) on Dec 04, 2011 at 13:26 UTC | |
by Anonymous Monk on Dec 04, 2011 at 22:29 UTC | |
|