Re: Unicode strings and ascii regular expressions

2006-01-31 Thread Fuzzyman
Fredrik Lundh wrote: > Fuzzyman wrote: > > > Can someone confirm that compiled regular expressions from ascii > > strings will always (and safely) yield unicode values when matched > > against unicode strings ? [snip..] > > ascii patterns work just fine on unicode strings. the engine doesn't care

Re: Unicode strings and ascii regular expressions

2006-01-30 Thread Fredrik Lundh
Fuzzyman wrote: > Can someone confirm that compiled regular expressions from ascii > strings will always (and safely) yield unicode values when matched > against unicode strings ? > > I've tested it and it works - but can someone confirm that this is > consistent and safe ? (No lurking encode erro

Unicode strings and ascii regular expressions

2006-01-30 Thread Fuzzyman
Hello all, Can someone confirm that compiled regular expressions from ascii strings will always (and safely) yield unicode values when matched against unicode strings ? I've tested it and it works - but can someone confirm that this is consistent and safe ? (No lurking encode errors - I assume it