Skip to content

Instantly share code, notes, and snippets.

View lawyoum's full-sized avatar

lawyoum

  • Doha
  • 05:34 (UTC +03:00)
View GitHub Profile
@adamsilkey
adamsilkey / re.__init__.py.patch
Created December 14, 2023 21:54
Adding pos/endpos to re
diff --git a/__init__.py b/__init__.py
index 4515650..14140b2 100644
--- a/__init__.py
+++ b/__init__.py
@@ -125,6 +125,7 @@ import enum
from . import _compiler, _parser
import functools
import _sre
+import sys