> Hi everyone,
>
> Just upgraded to 0.8.2 od Statusnet and hopes it would fix the problems
> mentioned in the subject line magically, alas it has not :( URL's
> entered are not hyperlinked and hastags are not recognized.

It seems like the regex engine isn't returning any matches, ever. That's
the only thing I could think of to explain this behavior.

Can you create a new file, say "test.php" with these contents:
<?php
$subject = "abcdef";
$pattern = '/^def/';
preg_match($pattern, substr($subject,3), $matches, PREG_OFFSET_CAPTURE);
print_r($matches);
?>

Then run "php test.php"

You should get this output:
Array
(
    [0] => Array
        (
            [0] => def
            [1] => 0
        )

)

(Shamelessly stolen from the examples at
http://php.net/manual/en/function.preg-match.php)

~Craig

_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to