in reply to Mnemonic for begin/end chars in regexes

For me it's (first) power (^) and (then) money ($). Although the reverse is also possible, depending your state corruption flavour. For those reminiscent of the glorious past it could be the power of the dollar.

bw, bliako

Replies are listed 'Best First'.
Re^2: Mnemonic for begin/end chars in regexes
by hippo (Archbishop) on May 12, 2023 at 12:45 UTC

    Unfortunately for me the phrase regarding which comes first between money and power is always the Scarface quote, so the money would come first.

    Luckikly not a day goes by that I don't work with some regex or another so these symbols are just ingrained by now.


    🦛

      I'd be thinking of the Simpsons version and wondering what sugar matched . . .

      The cake is a lie.
      The cake is a lie.
      The cake is a lie.

        Mmmmmmmm, syntactic sugar .... *drools*


        🦛