Re: [Tutor] Stuck: unicode in regular expressions

2005-08-09 Thread Kent Johnson
Ron Phillips wrote: > I am expecting users to cut-and-paste DMS data into an application — > like: +40 30 15 E40 15 34.56, -81 0 0, 81 57 34.27E, W 40° 13’ > 27.343”, 40° 13’ 27.343” S, 140° 13’ 27.343”S, S40° 13’ 27.34454, > 81:57:34.27E > > I've been able to write a regex that seems t

[Tutor] Stuck: unicode in regular expressions

2005-08-09 Thread Ron Phillips
I am expecting users to cut-and-paste DMS data into an application — like:  +40 30 15   E40 15 34.56, -81 0 0,   81 57 34.27E, W 40° 13’ 27.343”, 40° 13’ 27.343” S, 140° 13’ 27.343”S, S40° 13’ 27.34454,  81:57:34.27E    I've been able to write a regex that seems to work in redemo.py, but it doesn