Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: do $n exist in grep?

by GrandFather (Saint)
on May 12, 2021 at 21:17 UTC ( #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? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2021-07-27 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?