Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 pondering the Monastery: (5)
As of 2019-10-22 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?