justinmahar / SublimeCSAutocompletePlus

CoffeeScript autocompletions and more!
172 stars 12 forks source link

Filename regex not working #33

Closed echo99 closed 11 years ago

echo99 commented 11 years ago

The filename regex in coffee_utils.py doesn't seem to working for finding the CoffeeScript files in my project. I had to change it to the following to get it to work:

COFFEE_FILENAME_REGEX = r"(?:\.coffee|\.litcoffee|\.coffee\.md)$"

Removing the re.escape around COFFEE_EXTENSION_WITH_DOT also worked.

COFFEE_FILENAME_REGEX = r".+?" + COFFEE_EXTENSION_WITH_DOT