Mellel Quick Tutorial: Partial Formatting of a Found Expression

Поделиться
HTML-код
  • Опубликовано: 8 ноя 2024

Комментарии • 6

  • @LeoInterHyenaem
    @LeoInterHyenaem 2 года назад +1

    A lovely, very capable word processor. I'm glad Mellel is going strong, some 16-17 years after my purchase of the v.1.x license. Nostalgia…

  • @Macorian
    @Macorian 5 месяцев назад

    Great, only that "search and replace" doesn't come up in Mellel 6. It's gone. Where on earth can I get it back?

  • @voiceguy
    @voiceguy 2 года назад +2

    How did the curly braces turn into parentheses when you did the replace? That was just weird…

    • @johnnyragadoo2414
      @johnnyragadoo2414 2 года назад +5

      He found the pattern {{{some-digits}}} and replaced it with just some-digits in bold. The parenthesis on the outside of the pattern weren't part of the operation, so they were left untouched.
      This is a very friendly way to use what are called regular expressions. If you haven't heard of them, they are very powerful.
      They are also a little ugly to the eye, at least at first.
      The regular expression to find the braces and the digits would be \{\{\{\d+\}\}\}.
      The concept of greedy or non-greedy is a regular expression thing, too. This gives you a lot of control.
      It's also a feature you can pretty much ignore if you don't need it.
      Mellel is awesome!

    • @MellelRedlex
      @MellelRedlex  2 года назад +2

      In the first operation, the curly braces were added around the number so:
      (123)
      was turned into
      ({{{123}}})
      and in the second operation, the digits were replaced by themselves in bold and the curly brackets were removed.

    • @johnnyragadoo2414
      @johnnyragadoo2414 2 года назад +2

      @@MellelRedlex very eager to see 5.1. Mellel is a very important tool. Hope I can someday contribute to your “written with Mellel” roster.