Odhiambo Washington writes:

 > 1. I am getting too many messages from cron which I am unable to address
 > because I am not a perl programmer:

I'm not, either.

 > Useless use of greediness modifier '?' in regex; marked by <-- HERE in
 > m/^\w+:{1,1}? <-- HERE / at /usr/local/share/namazu/filter/mp3.pl line 155.
 > 
 > I wonder if doing away with the "?" on that regex is sufficient. I have
 > done that, but I am unsure how it affects the indexing.

That's a very strange RE.  It appears say "you should match at least
one ':' and at most one ':' and if there is more than one way to match
that many ':' you should choose the shortest one that allows the whole
pattern to match".  A normal person would just write ':' instead of
':{1,1}?' but this is Perl code so.... ;-)

 > Where should I place these two files - archtoc.html and archtocnombox.html
 > - and how do I now integrate them in the whole setup to get the
 > searchbox?

I haven't done this is a very long time.  I assume those two files go
in the template directory, and probably you need to put a link to them
in each template where you a search function.  But if you want a
search box in the thread page, for example, you're going to need to
extract the search form from one of those search pages and add it to
the thread template, the date template, and the author template.


------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to