Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Next from inner loop only works "most of the time"

by Marshall (Canon)
on May 20, 2021 at 07:41 UTC ( #11132758=note: print w/replies, xml ) Need Help??


in reply to Re: Next from inner loop only works "most of the time"
in thread Next from inner loop only works "most of the time"

Good questions! A version of the full code using labeled next is posted at Re^2: Next from inner loop only works "most of the time".

I actually first thought that there was some problem in the hashes. So I added some debug code to look at that issue. You can see what I did.

I saw the error and then added debug stuff. That's why the good bad run doesn't have that info.

You will see how I generated the regex. I did this in a straightforward way. My way generates some results that are not valid, but it was very easy to do while "hacking". Taking out a few extraneous results seemed to be a good way to go at the time. And it still seems like a good idea. A completely optimal regex is not necessary here.

I made the interface so that I type in exactly the list of letters the puzzle presents. If there are 2 "e"'s, I type in 2 "e"'s.

  • Comment on Re^2: Next from inner loop only works "most of the time"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2021-07-27 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?