I’m work on making my own version of the find_under_expand command that supports some extra features that I would like. I’m using the self.view.find_all command in a TextCommand plugin of my own making. This works great except for when the regular expression contains one of the following escaped characters:
` ’ < >
For example the following regular expression returns no results from a file that clearly should have matches:
variable\-\>item
Sublime also freezes (probably just looping forever somewhere) if the regular expression only contains one of those characters. For example, the following regular expression makes find_all never return:
\`
Let me know if I’m doing something wrong with the expression or the use of find_all. The code for my custom plugin can be found at: https://bitbucket.org/stampede247/sublimedata/src/201bc76af37ffbd18e78790a6eac73dee75adfcc/Packages/User/GrabNext.py