ConsoleTVs / Profanity

PHP library to block bad words in a string
MIT License
98 stars 46 forks source link

fix issue #7 and #2 add feature requested in #4 #8

Closed ariaieboy closed 4 years ago

ariaieboy commented 5 years ago

the strtolower function not supporting multibyte characters such as persian or arabic language mb_strtolower will fix the problem and support this type of charecters

ConsoleTVs commented 5 years ago

I think you should require ext-mbstring in the composer require block.

ariaieboy commented 5 years ago

I think you should require ext-mbstring in the composer require block.

yeah thats correct but this code still have some issue

i rewrite your lib for my project with regex and preg_ functions in php if u want i can clean that code and make another pull request

ariaieboy commented 5 years ago

I think you should require ext-mbstring in the composer require block.

yeah thats correct but this code still have some issue

i rewrite your lib for my project with regex and preg_ functions in php if u want i can clean that code and make another pull request

this code that i wrote will fix issue #7 and #2 and its add the feature that requested in issue #4