
but i don't understand the use of ^ or $
( , Sun 3 Jul 2005, 17:35, archived)

but it looks like /^ and $/ mark the start and end of the rule used
edit: www.amk.ca/python/howto/regex/regex.html#SECTION000510000000000000000
( , Sun 3 Jul 2005, 17:39, archived)