Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: matching first paragraph satisfying condition

by 1nickt (Abbot)
on Aug 05, 2019 at 20:17 UTC ( #11103991=note: print w/replies, xml ) Need Help??


in reply to Re: matching first paragraph satisfying condition
in thread matching first paragraph satisfying condition

s/(?:foo|bar)/baz/;
(non-capturing group)


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^3: matching first paragraph satisfying condition
by haukex (Chancellor) on Aug 06, 2019 at 09:12 UTC

    s/(?:foo|bar)/baz/ is pretty much identical to s/foo|bar/baz/, so I don't think that's the issue.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2020-02-24 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (107 votes). Check out past polls.

    Notices?