Advertisement
Guest User

Untitled

a guest
Dec 8th, 2015
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. if (preg_match('/^'.
  2. '(' .
  3. unichr(0x1F1E6).'-'.unichr(0x1F1FF). // regional symbolx
  4. unichr(0x1F1E6).'-'.unichr(0x1F1FF). // regional symbolx
  5. '|' .
  6. '['.
  7. unichr(0x1F300).'-'.unichr(0x1F5FF). // misc symbols and pictographs
  8. unichr(0x1F900).'-'.unichr(0x1F9FF). //supplemental symbols and pictographs
  9. unichr(0x1F600).'-'.unichr(0x1F64F). //emoticons
  10. unichr(0x1F680).'-'.unichr(0x1F6FF). //transport map symbols
  11. unichr(0x2600).'-'.unichr(0x26FF). // misc symbols
  12. unichr(0x2700).'-'.unichr(0x27BF). //dingbats
  13. unichr(0xE000).'-'.unichr(0xF8FF). //private use area??
  14. ']'.
  15. '['.unichr(0xFE00).'-'.unichr(0xFE0F).']?'. // variation selector
  16. '('.
  17. unichr(0x200D). //ZWJ
  18. '['.
  19. unichr(0x1F300).'-'.unichr(0x1F5FF). // misc symbols and pictographs
  20. unichr(0x1F900).'-'.unichr(0x1F9FF). //supplemental symbols and pictographs
  21. unichr(0x1F600).'-'.unichr(0x1F64F). //emoticons
  22. unichr(0x1F680).'-'.unichr(0x1F6FF). //transport map symbols
  23. unichr(0x2600).'-'.unichr(0x26FF). // misc symbols
  24. unichr(0x2700).'-'.unichr(0x27BF). //dingbats
  25. unichr(0xE000).'-'.unichr(0xF8FF). //private use area??
  26. ']'.
  27. '['.unichr(0xFE00).'-'.unichr(0xFE0F).']?'. // variation selector
  28. ')*'.
  29. '$/u', $body_text)) {
  30. $result['type'] = 'reacji';
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement