Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-java

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 members

  • format A tmux format for -f, or empty when this expression is not a safe subset.
  • literal 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
Search in

Type to search.

Reference previewOpen reference