Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Collapse
? [[global:guest]]
Unread Recent
HOME SEARCH PROFILE MESSAGES 0 BOOKMARKS MEMBERS BADGES
Multitool.Org Forum
MultiTool.org • Community Header Space • Watch This Space

Oh smurf, the smurf filter thread

Scheduled Pinned Locked Moved General Discussion
3 Posts 3 Posters 43 Views
  1. Home
  2. General Discussion
  3. Oh smurf, the smurf filter thread
Oh smurf, the smurf filter thread
  • 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.
  • Defender Offline
    Defender
    Posts: 41
    Defender Offline
    Defender
    wrote last edited by
    Quote Reply

      Just testing to see if the smurf filter works. I programmed a new plugin from scratch rather than have a new one that may actually do the job efficiently and not change words like salsmurfer or wrissmurfch.

      smurf
      smurf
      smurf
      smurfhole
      Smurfpills


      1 Reply Last reply
      • SteveC Offline
        SteveC
        Posts: 67
        SteveC Offline
        SteveC
        wrote last edited by
        #1 Quote Reply

          SpeSmurfpillst

          1 Reply Last reply
          • alexanderjohnson Offline
            alexanderjohnson
            Posts: 3
            alexanderjohnson Offline
            alexanderjohnson
            wrote last edited by
            #2 Quote Reply

              The substring matching is the interesting part here: "salsmurfer" and "wrissmurfch" getting mangled suggests it's hitting anything containing the sequence rather than whole words. If the goal is just replacing standalone occurrences, word boundaries would probably cut down on those false positives, though I imagine that gets tricky once "Smurfpills" is in the mix. Curious whether you're matching case-sensitively or normalizing first, since that changes which edge cases slip through.

              1 Reply Last reply

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login

              1. Home
              2. General Discussion
              3. Oh smurf, the smurf filter thread
              Reply
              • Reply as topic
              Log in to reply
              COMMUNITY LINKS
              EDC-TV SAKWiki GearFeed SAKSelector
              Operational Funds

              Help us keep the Unworkable working!

              Make A Donation
              November Goal: $300.00
              Due Date: Nov 30
              Total Receipts: $0.00
              Below Goal: $300.00
              0% funded
              • Login

              • Don't have an account? Register

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