just for the record, one of those "let's change a lot of code that we don't understand, just because we can" things broke the "pre" module in 2.2. someone changed: try: repl = pcre_expand(_Dummy, repl) except: m = MatchObject(self, source, 0, end, []) to try: repl = pcre_expand(_Dummy, repl) except error: m = MatchObject(self, source, 0, end, []) but in the most common use case (replacement strings containing group references), the pcre_expand function raises a TypeError exception... </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4