liamcain / AutoFileName

Sublime Text plugin that autocompletes filenames
515 stars 78 forks source link

Fix annoying bug in JavaScript regex literals #31

Closed Ivanca closed 11 years ago

Ivanca commented 11 years ago

Now it doesn't block ST for erroneously working inside a JS regex (e.g. /\b[a-z]/gi )

liamcain commented 11 years ago

Thanks for this. You inspired me to add a blacklist setting to make this process more convenient. I'll merge your changes for the ST2 version since I now exclusively work in Sublime Text 3, but you can check out what I added to the latest version here: https://github.com/BoundInCode/AutoFileName/commit/b510c04b0e411bd9374338683eb0c8ca51c1c03d#L1R21

Ivanca commented 11 years ago

Awesome man; keep up the good work.