Re: Unicode Regular Expressions

2007-12-23 Thread Martin v. Löwis
> I'm writing a program that requires specifically Unicode regular > expressions http://unicode.org/reports/tr18/ to be loaded in from an > external file and then interpreted against the data. if I use Python > Regular expressions is there a flag I can set to specify t

Re: Unicode Regular Expressions

2007-12-23 Thread Jim
Have you googled? http://www.google.com/search?hl=en&q=python+regular+expression+unicode&btnG=Google+Search -- http://mail.python.org/mailman/listinfo/python-list

Unicode Regular Expressions

2007-12-23 Thread bryan rasmussen
Hi, I'm writing a program that requires specifically Unicode regular expressions http://unicode.org/reports/tr18/ to be loaded in from an external file and then interpreted against the data. if I use Python Regular expressions is there a flag I can set to specify that the regular expres

Re: Unicode regular expressions -- buggy?

2005-08-11 Thread Fredrik Lundh
Christopher Subich wrote: > I don't think the python regular expression module correctly handles > combining marks; it gives inconsistent results between equivalent forms > of some regular expressions: > Is this a limitation-by-design, or a bug? limitation by design. if you want correct results

Unicode regular expressions -- buggy?

2005-08-10 Thread Christopher Subich
I don't think the python regular expression module correctly handles combining marks; it gives inconsistent results between equivalent forms of some regular expressions: >>> sys.version '2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]' >>>re.match('\w',unicodedata.normalize('NFD