Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Unable to constrain the effect of a negative lookahead

by fireblood (Scribe)
on Apr 15, 2022 at 12:14 UTC ( #11142994=note: print w/replies, xml ) Need Help??


in reply to Unable to constrain the effect of a negative lookahead

Dear JohnGG, tybalt89, Anonymous Monk, AnomalousMonk, and hv,

Thanks so much for your replies. I had never considered in-lining the string and then processing it as a file, but it's clearly a very elegant solution, not only by virtue of solving the problem but also making the code a lot clearer and easier to read and maintain. And to Anonymous, I was not aware of the technique that your code shows whereby capture buffer numbers are reused so that regardless of which alternative matched, the capture buffer numbers are still the same. Very cool. And thanks for the referral to Regex::Common, a good resource.

And to Anomalous, wow, thanks for the reference to the special backtracking control verbs, that's another new area for me to explore.

My understanding of how the voting works when there are multiple responders is that I click on the O++, O--, or O+=0 buttons to allocate points across the responders, and these are limited to awarding a single upvote, a single downvote, or a single nothing vote respectively, there's no mechanism for the OP to award 50% to one, 25% to another, and so forth. But other readers can come along, read through all of the responses, and add their single upvotes or downvotes, and eventually with enough additional readers chiming in, the distributions of 50%, 25%, etc. will emerge from the population of voters rather than from a single voter. And I guess that the box at the bottom of all of the posts labeled vote! is for awarding a point to the discussion as a whole if it seems meritorious. I'm still learning about how the voting system works.

Thanks again to all!
  • Comment on Re: Unable to constrain the effect of a negative lookahead

Replies are listed 'Best First'.
Re^2: Unable to constrain the effect of a negative lookahead
by hippo (Bishop) on Apr 15, 2022 at 13:31 UTC
    And I guess that the box at the bottom of all of the posts labeled vote! is for awarding a point to the discussion as a whole if it seems meritorious.

    The "vote!" button is for submitting all the votes you have allocated with the radio buttons previously. Just selecting the radio buttons without subsequently pressing "vote!" does nothing at all.

    In all other aspects you are correct. See the section entitled "How do I vote?" in Voting/Experience System for more info.


    🦛

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11142994]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2022-12-03 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?