Wednesday, November 4, 2015

start and end anchor in python regular expression

http://www.regular-expressions.info/anchors.html

^ and $ are different breed. They are start and end anchors. They do not match any character at all. They just ensure that the following ir preceding character starts from the beginning or the end of a line.

No comments:

Post a Comment