Robin Bowes skribis 2006-06-20 14:16 (+0100): > > Let's not discuss this in too much detail, but my strong opinion is > > that including /xms by default is a very bad idea. Use them when you > > *need* them, and only then. > Why do you think that?
It's carco cult programming. "/m" is only ever meaningful if your data has multiple lines, and "/s" makes matching [^\n] incredibly inconvenient, while that's a very common thing to match. > Conway's reasoning is as follows: I know. > Which parts of this advice do you disagree with, and why? The "always" parts. Know what /m does, and use it when you need it. Know what /s does, and use it when you need it. Know what /x does, and use it when you need it. If you really want to discuss this further, I suggest that you start a thread on perlmonks.org and announce the URL. It's off topic here. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html
