Very quick question about extensions

Hello,
When I am looking to match something by extension, for example my_file.xml, when I enter the criteria, should I include the period before the extension or not?
Kind Regards
When I am looking to match something by extension, for example my_file.xml, when I enter the criteria, should I include the period before the extension or not?
Kind Regards