meli/src
Manos Pitsidianakis 3e31c46a74
Add "regexp" feature, format text with regexps
`regexp` feature uses the pcre2 library to enable the user to define
regular expressions for matching text and applying text formatting to
the matches. An example from the theme configuration I used to test
this:

  [terminal.themes.win95.text_format_regexps]
  "listing.subject" = { "\\[[^\\]]*\\]" = { attrs = "Bold" } }
  "listing.from" = { "\\<[^\\>]*\\>(?:(?:\\s*$)|(?=,))" = { attrs = "Italics" } }

  [terminal.themes.win95.text_format_regexps."pager.envelope.body"]
  "^>.*$" = { attrs = "Italics" }
  "\\d+\\s?(?:(?:[KkMmTtGg]?[Bb])|(?:[KkMmTtGg][Bb]?)(?=\\s))" = { attrs = "Bold | Underline" }
2020-06-05 10:56:36 +03:00
..
components Add "regexp" feature, format text with regexps 2020-06-05 10:56:36 +03:00
conf Add "regexp" feature, format text with regexps 2020-06-05 10:56:36 +03:00
execute Add delete, copy actions for envelopes 2020-03-01 17:48:10 +02:00
plugins Execute user shell commands with /bin/sh 2020-05-28 21:02:49 +03:00
terminal Add "regexp" feature, format text with regexps 2020-06-05 10:56:36 +03:00
types Add add-attachment from pipe, default_header_values 2020-03-01 17:45:55 +02:00
bin.rs themes: Rename Theme struct to Themes 2020-06-02 18:31:07 +03:00
components.rs Remove fnv crate 2020-05-10 21:18:56 +03:00
conf.rs Add samples/ directory with config and themes 2020-06-02 18:31:07 +03:00
execute.rs Add #[ignore] to test_parser() 2020-05-29 22:21:12 +03:00
mailcap.rs Overhaul input thread 2020-05-29 15:43:05 +03:00
managesieve.rs Remove fnv crate 2020-05-10 21:18:56 +03:00
plugins.rs Execute user shell commands with /bin/sh 2020-05-28 21:02:49 +03:00
sqlite3.rs sqlite3: move module to melib 2020-05-30 15:37:12 +03:00
state.rs Overhaul input thread 2020-05-29 15:43:05 +03:00
terminal.rs Remove ui crate 2020-02-04 17:29:55 +02:00
types.rs Add #[ignore] to test_parser() 2020-05-29 22:21:12 +03:00
unix.rs PosixTimer: rearm timer only when calling rearm() 2020-05-18 20:57:17 +03:00
workers.rs Remove fnv crate 2020-05-10 21:18:56 +03:00