Matthew Barnett added the comment:

The semantics of '^' are common to many different regex implementations, 
including those of Perl and C#.

The 'pos' argument merely gives the starting position the search (C# also lets 
you provide a starting position, and behaves in exactly the same way).

Perhaps you should be using 'match' instead.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16870>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to