
 Usage: semkit read [IN] keep-regex [OPTIONS] [PATTERN]

 What a regular expression matches in a phrase, case-sensitive, searched anywhere.

 pattern: the regular expression; \w, \b and \d take Cyrillic letters too.
 all_matches: extract gives every match, joined by a space; by default the first.
 invert: the found part is the text the pattern does not match: remove keeps only the matches,
 joined with nothing between («диван 120x200» with \d+ → «120200»); extract gives the text outside
 the matches («диван x»); find marks the phrases where such text is left.

 find marks the phrases where the pattern matches; remove cuts out every match; extract gives the
 first match.

 Example: semkit read --text "диван 120x200" --text "кресло" keep-regex "\d+" write -
 -> диван 120x200

 keep-regex keeps only the rows where the matcher finds something in the working column.

╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────╮
│   PATTERN      <str>  the regular expression; \w, \b and \d take Cyrillic letters too. The same  │
│                       as --pattern PATTERN.                                                      │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮
│ --pattern            PATTERN  the regular expression; \w, \b and \d take Cyrillic letters too.   │
│ --all-matches                 extract gives every match, joined by a space; by default the       │
│                               first.                                                             │
│ --invert                      the found part is the text the pattern does not match: remove      │
│                               keeps only the matches, joined with nothing between («диван        │
│                               120x200» with \d+ → «120200»); extract gives the text outside the  │
│                               matches («диван x»); find marks the phrases where such text is     │
│                               left.                                                              │
│ --help                        Show this message and exit.                                        │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯

