1. Jonathan Eunice
  2. simplere

Commits

Jonathan Eunice  committed e97a1da

more tweaks

  • Participants
  • Parent commits 6a22f57
  • Branches default

Comments (0)

Files changed (2)

File setup.py

View file
  • Ignore whitespace
 
 setup(
     name='simplere',
-    version='0.23',
+    version='0.24',
     author='Jonathan Eunice',
     author_email='jonathan.eunice@gmail.com',
     description='Simpler, cleaner access to regular expressions. Globs too.',

File simplere/core.py

View file
  • Ignore whitespace
         # can't use isinstance() test on pattern because _sre objects are damn hard to
         # import or wrangle. Name test is best I know how to do.
         
-    @classmethod
-    def from_sre(cls, sre):
-        """
-        Create an Re from an existing re.
-        """
-        newre = Re(None)
-        newre.pattern = src
-        return newre
-        
     def _regroup(self, m):
         """
         Given an _sre.SRE_Match object, create and return a corresponding