I would like to use atom’s API to search for a string within a specified range. I would like to use the scanInBufferRange method of the
Unfortunately the method requires a RegExp. This means that in order to use the method I would have to escape the
There is a package to do just that. Question is: Is there a method to scan for a string instead of a
RegExp built into atom? Or is there a method to escape a
RegExp without requiring an additional package?