Avatar

Proposal for Solution: Banned Word List -Ban only Exact Word (Technics)

by Milo ⌂, Thursday, February 26, 2015, 19:11 (939 days ago) @ Milo

Hi,

I think about the problem and maybe, it is better to allow regular expressions at the bad word list. In this case, you can insert \bPOS\b as exact bad word but also words like ass (without any flags) to found words like asshole etc.

if($not_accepted_word!='' && preg_match("/".$not_accepted_word."/i",$string)

regards
Micha

--
Surveyor-Software: Geodetic Network Adjustment & Deformation-Analysis and Transformation


Complete thread:

 RSS Feed of thread

powered by my little forum