in reply to Re: Re: Re: Re: Re: Risks in the oblivious use of qr//
in thread Risks in the oblivious use of qr//
I'm taking a positivist approach to this. Where /i is specified it overrides, where it is not, it doesn't. So /$re/i has a local definition of /i but /$re/ doesn't. This implies that where a local redefinition occurs you've gained nothing in performance because the regex fragment must be recompiled to match the local expectations. I think that's just too bad. The alternative viewpoints here might be that the potential performance hit is unacceptable (even given the logical disconnect) or that a a regex fragment is actually a universe unto itself and just because it is included in a larger regex the larger regex's rules shouldn't apply.
I'm still holding out for a positivist interpretation of this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Re: Risks in the oblivious use of qr//
by waswas-fng (Curate) on Aug 11, 2003 at 17:02 UTC | |
by diotalevi (Canon) on Aug 11, 2003 at 17:12 UTC | |
by waswas-fng (Curate) on Aug 11, 2003 at 18:06 UTC | |
by diotalevi (Canon) on Aug 11, 2003 at 18:26 UTC | |
by demerphq (Chancellor) on Aug 12, 2003 at 14:25 UTC | |
|