);
| 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
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