Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
None
Description
Try to make bson.regex.Regex generic on the pattern type (either str or bytes). Then try_compile can return the appropriate generic type.