Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux-java latest

TmuxFilters

Lowers a FilterExpr to a tmux -f format when every node is one tmux can apply.

Source and package
Qualified name
io.github.libtmux.query.TmuxFilters
Package
io.github.libtmux.query
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/query/TmuxFilters.java
class io.github.libtmux.query.TmuxFilters

Description#

Relations, a Java regular expression, and any operand containing ,, #, {, }, :, or a backslash, are refused. Those stay a local filter over a capture. tmux compiles #{m/r:} with its own dialect, so a pattern Java would match can select nothing. A compiled format is a hint to tmux, not a promise that the local reading would differ: callers still apply the expression to the rows that come back.

Members2#

  • format method A tmux format for -f, or empty when this expression is not a safe subset.
  • literal method Whether this text can sit inside a tmux format argument without changing its shape. A backslash escapes the next character in a format, so a trailing one swallows the closing brace.
Esc

Type to search.

Reference preview Open reference