>>>>> "TK" == Thijs Kinkhorst <[EMAIL PROTECTED]> writes:

    TK> On Tue, May 31, 2005 12:05, Chris Searle wrote:
    >> preg_match('/([^ ]*)\s+\((.+)\)/', $dict, $dparts)

    TK> Thank you for your report. I think your proposed solution is
    TK> ok, I'd change it to preg_match('/(\S+)\s+\((.+)\)/', $dict,
    TK> $dparts)

Good idea.

    TK> so you'll also match it if the space should be a tab. I will
    TK> most probably incorporate this when packaging the new upstream
    TK> 1.4.5 release, which I expect at the end of June.

Excellent - many thanks.

I couldn't decide if this was a bug in squirrelmail,
dictionaries-common (filename encoding) or php (should \w match utf8
chars encoded as iso-8859-1). However - since squirrelmail is the only
package I'm using that had the problem it's nice to get it working.

-- 
Chris Searle


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to