Sublocator
An Elixir library for identifying the location(s) of a pattern in a given string.
Using Sublocator.locate/3, the pattern can be a string, a list of strings, or
a regular expression, and the result is a list of simple line and column data or
an empty list.
Multiline pattern support added in version 0.2.0
Installation
def deps do
[{:sublocator, "~> 0.2"}]
endUsage
Docs can be found at https://hexdocs.pm/sublocator.