=================================================================== RCS file: /cvs/mandoc/cgi.c,v retrieving revision 1.41 retrieving revision 1.43 diff -u -p -r1.41 -r1.43 --- mandoc/cgi.c 2012/03/24 00:31:55 1.41 +++ mandoc/cgi.c 2012/03/25 00:46:39 1.43 @@ -1,6 +1,6 @@ -/* $Id: cgi.c,v 1.41 2012/03/24 00:31:55 kristaps Exp $ */ +/* $Id: cgi.c,v 1.43 2012/03/25 00:46:39 kristaps Exp $ */ /* - * Copyright (c) 2011 Kristaps Dzonsons + * Copyright (c) 2011, 2012 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -743,7 +743,7 @@ format(const struct req *req, const char *file) } snprintf(opts, sizeof(opts), "fragment," - "man=%s/search.html?sec=%%S&expr=%%N," + "man=%s/search.html?sec=%%S&expr=Nm~^%%N$," /*"includes=/cgi-bin/man.cgi/usr/include/%%I"*/, progname);