Hacker News new | ask | show | jobs
by amp108 1482 days ago
This seems like a weird, and possibly untrustworthy, hack. Does Python not have the equivalent of Ruby's `x` modifier?
2 comments

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

What is untrustworthy about it?