RobertHeim / phpbb-ext-topictags

phpBB 3.3 extension, that adds the ability to tag topics with key words.
GNU General Public License v2.0
29 stars 19 forks source link

Same problem with Chinese character TAGs #100

Open ijuse opened 3 years ago

ijuse commented 3 years ago

I have the same problem I use the/^[\u4e00-\u9fa5\- a-z0-9]{2,30}$/ifor showing Chinese&digit&English characters, But PHP feedback result is: tags_manager.php on line 644: preg_match(): Compilation failed: PCRE does not support /L, /l, /N{name}, /U, or /u at offset 3 PCRE does not support?Is it not Full UTF-8 support???

Help me, thank you

ijuse commented 3 years ago

OK I found a solution

look here https://imgur.com/VKdrqeC

Tag settings——Regular Expression for allowed tags: Type this /^[\- a-z0-9\d\D]{3,30}$/i

Perfect~~~~~XD