uops, forgot to send this mail to the list. Johannes russek wrote: > > yes i already found that register() is the method i've been > searching for. > > Actually, init() is probably the better choice for new plugins (register > is the old way of both running initialization code and registering the > hook methods). > > John
thx, i just started off with some plugins we needed to patch, so i (shame on me) carefully left out reading the docs ;) i now moved the regexp compilation into init() while leaving the hook registering to hook(). i have tested some quite simple patterns and regexs and it seems to work. would you like to receive the patch? regards, johannes > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4501 Forbes Boulevard > Suite H > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5748 >
