Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: strip out anything inbetween brackets

by deibyz (Hermit)
on Apr 05, 2005 at 15:43 UTC ( [id://445014]=note: print w/replies, xml ) Need Help??


in reply to Re^3: strip out anything inbetween brackets
in thread strip out anything inbetween brackets

Ok, it returns "woaaa )"

What should it do? It removes everything "between" parens, but nothing else. If something has to be done with unmatched parens, we're talking about a diferent task, aren't we? =o)

Replies are listed 'Best First'.
Re^5: strip out anything inbetween brackets
by tlm (Prior) on Apr 05, 2005 at 15:57 UTC

    Yes. After I sent that reply I realized that you probably had something else in mind other than the original problem of removing the parens and "everything in between". The latter would arguably require getting rid of the first parens and everything after. Please see my update. As your question suggests, the problem needs defining; what exactly should "everything in between" be defined?

    the lowliest monk

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-23 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found