Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Efficient regex search on array table

by Polyglot (Chaplain)
on Dec 15, 2022 at 03:07 UTC ( #11148881=note: print w/replies, xml ) Need Help??

in reply to Re: Efficient regex search on array table
in thread Efficient regex search on array table

I'm still puzzling over this suggestion. I understand the "next if" part well enough, but the dropping of my counters? I'm using the counters as part of the logic to tell me if the line has matched after all the columns have been checked (I don't know until then). It seems to my mind, and perhaps I am just slow of understanding, that the "next if" cannot be applied to all columns at once. Hence the counters.

But if there were some way of adding the count at the same time as checking for a match, in one-liner fashion, that might be workable.



  • Comment on Re^2: Efficient regex search on array table

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2023-12-01 16:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found