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

Re: Re: Re: regex problem with metachars

by tedrek (Pilgrim)
on Nov 07, 2003 at 18:53 UTC ( [id://305407]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: regex problem with metachars
in thread regex problem with metachars

If the delimiter will always be one character then you can assume anything longer than 1 character is a escape sequence like "\t". So you just call quotemeta() on delimiters with a length of 1.

HTH

Tedrek

  • Comment on Re: Re: Re: regex problem with metachars

Replies are listed 'Best First'.
Re: Re: Re: Re: regex problem with metachars
by sweetblood (Prior) on Nov 07, 2003 at 19:21 UTC
    That's one I haven't thought of. I try that out. The delimiter should never be more than 1 character.

    Thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-20 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found