Dagger.SearchSubmatch (dagger v0.19.4)

View Source

Dagger.SearchSubmatch

Summary

Functions

The match's end offset within the matched lines.

A unique identifier for this SearchSubmatch.

The match's start offset within the matched lines.

The matched text.

Types

t()

@type t() :: %Dagger.SearchSubmatch{client: term(), query_builder: term()}

Functions

end_(search_submatch)

@spec end_(t()) :: {:ok, integer()} | {:error, term()}

The match's end offset within the matched lines.

id(search_submatch)

@spec id(t()) :: {:ok, Dagger.SearchSubmatchID.t()} | {:error, term()}

A unique identifier for this SearchSubmatch.

start(search_submatch)

@spec start(t()) :: {:ok, integer()} | {:error, term()}

The match's start offset within the matched lines.

text(search_submatch)

@spec text(t()) :: {:ok, String.t()} | {:error, term()}

The matched text.