Re:Python's Hidden Regular Expression Gems (2015)
by atdt on Monday May 22, 2017 @07:18PM
(#14397631)
> (Have a look at what dir() returns on a regex pattern object).
Looks OK to me. What am I missing?
[ Parent
| on HN ]
Re:Python's Hidden Regular Expression Gems (2015)
by js2 on Monday May 22, 2017 @08:06PM
(#14397830)
That was apparently fixed in Python 2.7:
https://github.com/python/cpython/commit/6116d4a1d1ecd6e9b94...
http://bugs.python.org/issue12099
But that commit pre-dates the blog post by many years, so maybe Armin was referring to something else, or maybe he hadn't realized it had been fixed?