Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: do $n exist in grep?

by GrandFather (Saint)
on May 12, 2021 at 21:17 UTC ( [id://11132522]=note: print w/replies, xml ) Need Help??


in reply to do $n exist in grep?

the parens in this statement might be moot

Do you mean that the () in (A|B) is kinda bad because it captures A or B as well as acting to place a limit around A|B? If so you can (?:A|B) instead which groups A|B, but doesn't capture the match.

If you mean something else, perhaps you would like to spell it out for us?

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-26 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found