in reply to Re^2: Mnemonic for begin/end chars in regexes
in thread Mnemonic for begin/end chars in regexes

It looks like a very Perlish interpretation indeed, possibly one of the most appropriate. I’ll keep digging into this. It also nicely links to the masonry mnemonic that @Discipulus gave, the roof caret and pay bill in the end.

🌸
  • Comment on Re^3: Mnemonic for begin/end chars in regexes

Replies are listed 'Best First'.
Re^4: Mnemonic for begin/end chars in regexes ("Genesis of Regex")
by LanX (Saint) on May 13, 2023 at 13:42 UTC
    > very Perlish interpretation

    well, you can try to expand this to a whole bunch of metaphors for a "Genesis of Regex" story

    • . dust/sand is found everywhere
    • { } Adam and Eve counting things (and being too nosy ;)
    • * + stars are infinite
    • ( ) clouds (or moons) covering things
    • [abc] Noah's ark with each specimen once
    • \b anchors
    • ... and so on.

    I think with some illustrations this could stick well in the head. :)

    Cheers Rolf
    (addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
    Wikisyntax for the Monastery

    Update

    For completeness, from prior posts

  • ^ God, the beginning of all
  • $ the snake, the end of paradise

      This is very beautiful.

      🌸