source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Fix lookup not to use full-out regexp search.
@ 2012-03-25  0:46 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2012-03-25  0:46 UTC (permalink / raw)
  To: source

Log Message:
-----------
Fix lookup not to use full-out regexp search.

Modified Files:
--------------
    mdocml:
        cgi.c

Revision Data
-------------
Index: cgi.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/cgi.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -Lcgi.c -Lcgi.c -u -p -r1.42 -r1.43
--- cgi.c
+++ cgi.c
@@ -743,7 +743,7 @@ format(const struct req *req, const char
 	}
 
 	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);
 
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-25  0:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-25  0:46 mdocml: Fix lookup not to use full-out regexp search kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).