$input = "žąsis su šešiolika žąsyčių";
preg_match_all("/\b(žąs\S*)/iu", $input, $output_array);
print_r($output_array);
returns a one big nothing. I want it to return both "žąsis" and "žąsyčių". Seems to be a simple problem but I can't find a simple answer. Should I encode both the subject and the pattern somehow or?..
And by meaning "one big nothing" I mean an empty multidimensional array
Array ( [0] => Array ( ) [1] => Array ( ) )