$ and ^ are regular expression characters that have a special meaning: the caret means “require that the pattern matches the start of the string,” and the dollar sign means “require that the pattern matches the end of the string.” For example consider the following url pattern urlpatterns = patterns(”, url(r’^hello/$’, hello), ) Without the
Archives for