rlike.asciidoc 609 B

123456789101112131415161718192021
  1. [discete]
  2. [[esql-rlike-operator]]
  3. ==== `RLIKE`
  4. // tag::body[]
  5. Use `RLIKE` to filter data based on string patterns using using
  6. <<regexp-syntax,regular expressions>>. `RLIKE` usually acts on a field placed on
  7. the left-hand side of the operator, but it can also act on a constant (literal)
  8. expression. The right-hand side of the operator represents the pattern.
  9. include::./types/like.asciidoc[]
  10. [source.merge.styled,esql]
  11. ----
  12. include::{esql-specs}/docs.csv-spec[tag=rlike]
  13. ----
  14. [%header.monospaced.styled,format=dsv,separator=|]
  15. |===
  16. include::{esql-specs}/docs.csv-spec[tag=rlike-result]
  17. |===
  18. // end::body[]