Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. lmao Claude Code regex to detect people swearing at it.

lmao Claude Code regex to detect people swearing at it.

Scheduled Pinned Locked Moved Uncategorized
6 Posts 5 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • peter@thepit.socialP This user is from outside of this forum
    peter@thepit.socialP This user is from outside of this forum
    peter@thepit.social
    wrote last edited by
    #1

    lmao Claude Code regex to detect people swearing at it. https://github.com/chatgptprojects/claude-code/blob/642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc/src/utils/userPromptKeywords.ts#L8

    Link Preview Image
    dataangler@vis.socialD susanleemburg@neuromatch.socialS 2 Replies Last reply
    1
    0
    • peter@thepit.socialP peter@thepit.social

      lmao Claude Code regex to detect people swearing at it. https://github.com/chatgptprojects/claude-code/blob/642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc/src/utils/userPromptKeywords.ts#L8

      Link Preview Image
      dataangler@vis.socialD This user is from outside of this forum
      dataangler@vis.socialD This user is from outside of this forum
      dataangler@vis.social
      wrote last edited by
      #2

      @peter @dnorman Wait is an LLM just a giant regex / ifelse labyrinth?

      peter@thepit.socialP dnorman@cosocial.caD thedansimonson@lingo.lolT 3 Replies Last reply
      0
      • dataangler@vis.socialD dataangler@vis.social

        @peter @dnorman Wait is an LLM just a giant regex / ifelse labyrinth?

        peter@thepit.socialP This user is from outside of this forum
        peter@thepit.socialP This user is from outside of this forum
        peter@thepit.social
        wrote last edited by
        #3

        @DataAngler noooo no no, this is Claude Code, it's a wrapper for their LLMs

        1 Reply Last reply
        0
        • peter@thepit.socialP peter@thepit.social

          lmao Claude Code regex to detect people swearing at it. https://github.com/chatgptprojects/claude-code/blob/642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc/src/utils/userPromptKeywords.ts#L8

          Link Preview Image
          susanleemburg@neuromatch.socialS This user is from outside of this forum
          susanleemburg@neuromatch.socialS This user is from outside of this forum
          susanleemburg@neuromatch.social
          wrote last edited by
          #4

          @peter swearing at it uncreatively ๐Ÿ™„

          1 Reply Last reply
          0
          • dataangler@vis.socialD dataangler@vis.social

            @peter @dnorman Wait is an LLM just a giant regex / ifelse labyrinth?

            dnorman@cosocial.caD This user is from outside of this forum
            dnorman@cosocial.caD This user is from outside of this forum
            dnorman@cosocial.ca
            wrote last edited by
            #5

            @DataAngler @peter what if it's just nested if/thens all the way down? ๐Ÿ™‚

            1 Reply Last reply
            0
            • dataangler@vis.socialD dataangler@vis.social

              @peter @dnorman Wait is an LLM just a giant regex / ifelse labyrinth?

              thedansimonson@lingo.lolT This user is from outside of this forum
              thedansimonson@lingo.lolT This user is from outside of this forum
              thedansimonson@lingo.lol
              wrote last edited by
              #6

              @DataAngler @peter @dnorman would be funny if true, but (to get pedantic) it would technically be a finite state transducer because it produces a new string based on a previous string. Basically a regex, but the state transitions produce an output.

              Even so, regex are deterministic, while thereโ€™s stochasticity baked into LLMs.

              Lots of other differences but that would be the most fundamental. The theoretical comparison could be fun!

              1 Reply Last reply
              0
              • R relay@relay.infosec.exchange shared this topic
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups