4.6 Pattern operators

In addition to the normal regular expression operators and primitives, the following may be used within the patterns in a start state section (but not within the patterns of a definition section):

Expression  Description 
^ re The re is only matched at the start of the line.
<<EOF>> Matches only the end of file.

See the PyGgy Home Page.