Avatar

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

by Micha ⌂, Thursday, February 26, 2015, 19:11 (3337 days ago) @ Micha

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

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences


Complete thread:

 RSS Feed of thread