HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by eviks | Hacker News Reader
Full thread
eviks
·
so why \A instead of ^?
View on HN
tkocmathla
·
\A always matches the start of the string, but in multiline mode, ^ will match both the start of the string and the start of each line:
https://docs.python.org/3/library/re.html#re.MULTILINE
Reply on news.ycombinator.com