This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jason.Vas.Dias
Recipients Jason.Vas.Dias, r.david.murray
Date 2011-04-28.21:35:32
SpamBayes Score 7.9824076e-08
Marked as misclassified No
Message-id <1304026533.65.0.95597255108.issue11946@psf.upfronthosting.co.za>
In-reply-to
Content
I imagine lots of other python REs fail if this one is failing ? :

$ cat test.py

import os
import sys
import re

pat = r'''d.........   # It is a directory.
          \+?          # It may have ACLs.
          \s+\d+       # It has some number of links.
          [^/]*        # Skip user, group, size, and date.
          /\.          # and end with the name of the file.
       '''
str = 'drwxr-xr-x. 25 root root 4096 Apr 20 15:28 /.'
if re.match(pat, str, re.VERBOSE) :
   print "MATCHED\n"
else :
   print "DID NOT MATCH"

$ LD_LIBRARY_PATH=`pwd` LD_PRELINK=`pwd`/libpython2.7.so.1.0 ./python ./test.py
DID NOT MATCH
History
Date User Action Args
2011-04-28 21:35:33Jason.Vas.Diassetrecipients: + Jason.Vas.Dias, r.david.murray
2011-04-28 21:35:33Jason.Vas.Diassetmessageid: <1304026533.65.0.95597255108.issue11946@psf.upfronthosting.co.za>
2011-04-28 21:35:32Jason.Vas.Diaslinkissue11946 messages
2011-04-28 21:35:32Jason.Vas.Diascreate