Pozri sa na toto, mas to takto skompilovane? 1. Python's regular expression engine supports Unicode. You can apply the same pattern to either 8-bit (encoded) or Unicode strings. To create a regular expression pattern that uses Unicode character classes for \w (and \s, and \b), use the "(?u)" flag prefix, or the re.UNICODE flag: pattern = re.compile("(?u)pattern") pattern = re.compile("pattern", re.UNICODE)
Mgr. Ing. Roman MIKLÓŠ Prvá stavebná sporiteľňa a.s. Bajkalská 30, P. O. Box 48 829 48 Bratislava 25 Tel.: +421/ 2 / 582 31 174 Fax: +421/ 2 / 582 31 109 _______________________________________________ Python mailing list Python@py.cz http://www.py.cz/mailman/listinfo/python