[sage-support] Re: Problems with re module in sage

2008-07-03 Thread William Stein
On Thu, Jul 3, 2008 at 10:56 AM, IanSR <[EMAIL PROTECTED]> wrote: > > I have just tested the following example re code in sage, and it fails > both on a Linux install and a Mac OS X install: > > import re > p = re.compile('(a(b)c)d') > m = p.match('abcd') > m.group(0) > # expect: 'abcd' > m.group(

[sage-support] Re: Problems with re module in sage

2008-07-03 Thread David Harvey
On Jul 3, 2008, at 1:56 PM, IanSR wrote: > I have just tested the following example re code in sage, and it fails > both on a Linux install and a Mac OS X install: > > import re > p = re.compile('(a(b)c)d') > m = p.match('abcd') > m.group(0) > # expect: 'abcd' > m.group(1) > # expect: 'abc' > m.