
 Usage: semkit read [IN] extract-ready-pattern [OPTIONS] [KIND]

 A ready regular expression for a domain, e-mail, phone or date, found anywhere in a phrase.

 The match is case-sensitive.

 kind: "domain" (Latin domains with subdomains: «www.example.com»; extract gives all, joined by a
 space), "email" (the first e-mail), "phone" (Russian numbers from +7 or 8: «8 (999) 123-45-67»;
 all, joined by ", "), "date_ddmmyyyy" (the first date as 05.11.2023, 05-11-2023, 05/11/2023 or
 05112023) or "date_yyyymmdd" (as 2023-11-05 … 20231105). A date has the same separator twice, or
 none, and is never part of a longer number; its day and month are not checked (39.19.2999 is
 found).

 find marks where the pattern is; remove cuts out every match; extract keeps what is said above, an
 empty cell where there is none.

 Example: semkit read --text "диван на сайте www.sofa.ru" extract-ready-pattern domain write -
 -> www.sofa.ru

 extract-ready-pattern keeps only what the matcher finds in the working column; an empty cell where
 it finds nothing.

╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────╮
│   KIND      <domain|email|phone|date_ddmmyyyy|date_y  "domain" (Latin domains with subdomains:   │
│             yyymmdd>                                  «www.example.com»; extract gives all,      │
│                                                       joined by a space), "email" (the first     │
│                                                       e-mail), "phone" (Russian numbers from +7  │
│                                                       or 8: «8 (999) 123-45-67»; all, joined by  │
│                                                       ", "), "date_ddmmyyyy" (the first date as  │
│                                                       05.11.2023, 05-11-2023, 05/11/2023 or      │
│                                                       05112023) or "date_yyyymmdd" (as           │
│                                                       2023-11-05 … 20231105). A date has the     │
│                                                       same separator twice, or none, and is      │
│                                                       never part of a longer number; its day and │
│                                                       month are not checked (39.19.2999 is       │
│                                                       found). The same as --kind KIND.           │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮
│ --kind        KIND  "domain" (Latin domains with subdomains: «www.example.com»; extract gives    │
│                     all, joined by a space), "email" (the first e-mail), "phone" (Russian        │
│                     numbers from +7 or 8: «8 (999) 123-45-67»; all, joined by ", "),             │
│                     "date_ddmmyyyy" (the first date as 05.11.2023, 05-11-2023, 05/11/2023 or     │
│                     05112023) or "date_yyyymmdd" (as 2023-11-05 … 20231105). A date has the same │
│                     separator twice, or none, and is never part of a longer number; its day and  │
│                     month are not checked (39.19.2999 is found).                                 │
│ --as          NAME  Write the result to a new column NAME and keep the working column as it is.  │
│ --help              Show this message and exit.                                                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯

