There is an extra argument  you can pass to lex() which is used to supply 
additional re module flags.  So, you would probably have to pass in re.UNICODE 
to make this work.  Otherwise, I can't think of any 
reason why it wouldn't work.

Cheers,
Dave

 
On Fri 17/10/08  2:08 AM , "D.Hendriks (Dennis)" [EMAIL PROTECTED] sent:
> 
> 
> Hello Oyster,
> 
> 
> 
> personally, I've never done this. However, I think that if you supply 
> 
> unicode strings to ply
> 
> and write unicode matching regular expressions for scanning, it should 
> 
> just work. Have
> 
> you tried it already?
> 
> 
> 
> Dennis
> 
> 
> 
> 
> 
> Oyster wrote:
> 
> 
> 
> >what if I want to analyze a language, which supports
> unicode chars as
> >its variant/function name and operators?
> 
> >thanx
> 
> >>
> 
> >  
> 
> >
> 
> 
> 
> 
> 
> > 
> 
> 
> 
> 
> 




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ply-hack?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to