CircuitPython/ure.py

changeset 7
e336d6afc5a6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CircuitPython/ure.py	Thu Aug 29 19:05:05 2019 +0200
@@ -0,0 +1,46 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the def 'ure' module.
+"""
+
+def compile(regex_str, flags=0):
+    pass
+
+def match(regex_str, string):
+    pass
+
+def search(regex_str, string):
+    pass
+
+DEBUG = False
+
+class regex_object():
+    def match(self, string):
+        pass
+    
+    def search(self, string):
+        pass
+    
+    def split(self, string, max_split=-1):
+        pass
+    
+
+class match_object():
+    def group(self, index):
+        pass
+    
+    def groups(self):
+        pass
+    
+    def start(self, index=0):
+        pass
+    
+    def end(self, index=0):
+        pass
+    
+    def span(self, index=0):
+        pass

eric ide

mercurial