On Thu, Jul 10, 2014 at 9:23 AM, fl <rxjw...@gmail.com> wrote:
> Is '\A' the same with '^'?
> Is '\Z' the same with '$'?

The meanings of these are explained at:
https://docs.python.org/library/re.html#regular-expression-syntax

Outside of multiline mode, they're equivalent. In multiline mode, ^
and $ will also match at the beginning and end of individual lines,
while \A and \Z still only match the beginning and end of the input
string.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to