Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Re: More Variable length regex issues

by japhy (Canon)
on Jun 10, 2003 at 20:41 UTC ( [id://264853]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: More Variable length regex issues
in thread More Variable length regex issues

Well, there are the French/German style quotes that look like << and >>... but Perl 6 uses them (believe it or not!).

You can't use anything other than paren, bracket, brace, or angle-bracket in Perl right now to balance, since they're hardcoded into the parser/tokenizer. But you could certainly choose some obscure unicode character that doesn't need balancing. Actually, if you could tell the parser to include a pair of your own, like ` and ', that'd be cool.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

  • Comment on Re: Re: Re: Re: More Variable length regex issues

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-20 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found