3 ms·
so why \A instead of ^?
by eviks 9mo ago
so why \A instead of ^?
- tkocmathla 9mo ago\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 https://docs.python.org/3/library/re.html#re.MULTILINE