Re: regex syntax

2004-12-07 Thread jstroud
Ich kann nicht spricht Deutch, aber: import re regex = re.compile(r'(.*)(\.jpg)$') m = regex.match("bild.jpg") g = m.groups() print g[0] print g[1] Auf wiedersehen! James On Monday 06 December 2004 04:03 pm, Andreas Volz wrote: > Hi, > > ich kann nicht gut regex, aber für das nötigste reich

Re: Best editor?

2005-04-05 Thread jstroud
On Tuesday 05 April 2005 11:22 am, ChinStrap wrote: > I keep hearing everyone say Emacs, but I can't understand it at all. Both emacs and vi suffer from the fact that they can not be used by ordinary humans. Thus, I recommend using either to impress your friends. James -- http://mail.python.org/