Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: regex: finding something that doesn't contain a quotation?

by l.frankline (Hermit)
on Feb 11, 2006 at 04:24 UTC ( #529521=note: print w/ replies, xml ) Need Help??


in reply to regex: finding something that doesn't contain a quotation?

Hi,

Can you mention, what is initialized in $blah variable, so that I can help you more efficiently, anyany...

A small change is missing in your regex. Get the solution below:

print $& if ($filecontents =~ /blah\.boo\(\w+\(\)\)\;/);

Cheers,
Franklin

Don't put off till tomorrow, what you can do today.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-07-27 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (242 votes). Check out past polls.