Does the string match the pattern?
Since we don't know where the comment text might end,
we just insist that it match starting at the beginning
of the text.
Does this class support this file?
Subclasses will use the file name, and possibly examine the
content of the file, to determine whether it's supported.