Hacker News new | ask | show | jobs
by kzrdude 1482 days ago
Yep, python has the same option, it's called re.VERBOSE and aliased as re.X.

https://docs.python.org/3/library/re.html#re.X