TheImrac commented on a Page, Regex Swear Kicker  -  Oct 06, 2009

I personally like something along the lines of:

alias swtest {
  If ($hfind(swear,$1-,0,R)) {
    echo -b OMG you swore!!!
  }
}
alias swadd { hadd -m swear $+(/\b,$1,\b/iS) }

/swadd lamers?
/swtest omg you are a lamer!
/swtest No swears in this one...

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.