Jump to content

yaxar

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

yaxar's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The regex expression they gave there "[\s\p{IsCyrillic}]" outputs an error Message: preg_match() [function.preg-match]: Compilation failed: unknown property name after \P or \p at offset 15 And yes it is be Cyrillic. Thanks
  2. I am trying to check if a string is Cyrillic but so far it is not working. This is my code so far. $str = 'ырөлоырөб'; if (preg_match('{Script=Cyrillic}/iu*', $str)) { echo 'it works'; }else { echo 'it dosent work'; } When i tried it on my server it outputed 'it dosent work'. can you help me and find if their is anything wrong with the regex expression. Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.