Re: preg_match and Hebrew?

2009-09-07 Thread Justin
); | string(2) א ` So I revert to the soon-to-be-deprecated mb_ereg: , | php mb_regex_encoding('UTF-8'); | php echo mb_ereg('\w', 'א'); | 1 ` and now it works.. maybe I was wrong expecting preg_match would know hebrew alphanumeric characters in the first place? I

preg_match and Hebrew?

2009-08-04 Thread Yuval Hager
is UTF8, so this should not be a problem I guess.. , | php var_dump('א'); | string(2) א ` So I revert to the soon-to-be-deprecated mb_ereg: , | php mb_regex_encoding('UTF-8'); | php echo mb_ereg('\w', 'א'); | 1 ` and now it works.. maybe I was wrong expecting preg_match