New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oddity of /p #11710
Comments
From @ikegamiCreated by @ikegamiThis is a bug report for perl from ikegami@adaelis.com, Hi, Does the "p" modifier apply to the operator (like "o") or the pattern (like That said, (?:) supports p, although it has no effect (sometimes with
Except sometimes it does have an effect.
And then there's the case where (?-p:) warns even though it appears to work.
From a user's perspective, none of this makes no sense. It was probably done - Eric Perl Info
|
From @ikegamiOn Fri Oct 21 21:08:11 2011, ikegami@adaelis.com wrote:
doh! I meant "p" should be a m// modifier, it shouldn't be qr// modifier, and it |
@ikegami - Status changed from 'new' to 'open' |
From @cpansproutOn Fri Oct 21 21:08:11 2011, ikegami@adaelis.com wrote:
I would say *all* of this makes no sense. :-) It makes as much sense as $x = qr/foo/g; s/$x/bar/; (which, come to Notice I didn’t add /p support to ‘use re '/flags'’. |
From @ikegamiOn Sat, Oct 22, 2011 at 1:22 AM, Father Chrysostomos via RT <
sigh, I'm wearing my contacts for the first time in many months, and Yes, that's what I meant, thanks. |
From @AbigailOn Fri, Oct 21, 2011 at 09:08:11PM -0700, Eric Brine wrote:
That can be explained by the fact that /${re}/ doesn't do a
Again, that's due to the stringification-regexp compile roundtrip.
Abigail |
From @ikegamiOn Sat, Oct 22, 2011 at 10:45 AM, Abigail <abigail@abigail.be> wrote:
Explain to whom? To me? I know that. To the users? I could be wrong, but I |
Migrated from rt.perl.org#101938 (status was 'open')
Searchable as RT101938$
The text was updated successfully, but these errors were encountered: