What would be the format for excluding files that do not have an extension, such as runme, which does not have an extension. For example, if the files in my directory are:
script.sh
script.s
runme
I want to exclude the files without an extension. I suppose the regex for this would be ^[^.]+$. How does this go into a .gitignore though? What are the regex (or is it more unix/shell filepath matching patterns)?