Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
There's more than one way to do things
 
PerlMonks  

Re: Re: split delimiters

by Daddio (Chaplain)
on Mar 26, 2001 at 23:14 UTC ( [id://67394]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: split delimiters
in thread split delimiters

Or, just in case both of these delimiters should be used for one split...

split /[\[\(]/, 'some(next[really(really(odd[string';

Replies are listed 'Best First'.
Re: Re: Re: split delimiters
by busunsl (Vicar) on Mar 27, 2001 at 05:51 UTC
    Well, in that case you don't have to escape them, because they are in sqare brackets:
    split /[([]/, 'some(wierd[string';

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://67394]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.