Hello there!
Could you please point me to the mistake in my regular expression?
/[\x{4e00}-\x{9fa5}]*[.\s]*\[\/m\][\x{4e00}-\x{9fa5}]/u
My string starts with chinese character ([\x{4e00}-\x{9fa5}]
), which is followed by any character and ends with '[/m]' and another chinese character. So the string possibly could look like:
我... some text goes here (contains any characters including spaces and new lines)... [/m]我
But unfortunately my regular expression doesn't work as expected.
Thank you.