regexp

fun regexp(regexp: String, field: String = "_all"): SearchQuery

A Regexp query

Searches for terms that match regexp.

NOTE: This is a non-analytic query, meaning it won’t perform any text analysis on the query text.

See also

Parameters

regexp

A Go regular expression