enturn / brackets-quick-search

Notepad++ style smart highlighting extension for Brackets editor.
36 stars 11 forks source link

If a string starts with a $, there is no match #11

Closed sQuarecoW closed 10 years ago

sQuarecoW commented 10 years ago

On OS X the $ is part of the string when double-clicking it. However, if a word starts with a $, it is not recognized by quick-search and there is no highlight.

enturn commented 10 years ago

Thanks sQuarecoW. It's also the same on Windows. It wasn't doing the search properly because the \b I use for searching doesn't recognize $ as a word character. I've added an exception for $ at the start of the selected word in commit 4f4c82ea3db28f023eb5cfaa8a4896f5b524a3f8 (v1.1.3).

sQuarecoW commented 10 years ago

Cool!

It works now.