-ν
J’<c       sr     d  Z    d k Z d k Z  d k l Z l Z l Z  d k l Z  d Z	  e i
 e	  d  Z d S(   s}  
    MoinMoin - FullSearch Macro

    Copyright (c) 2000, 2001, 2002 by Jόrgen Hermann <jh@web.de>
    All rights reserved, see COPYING for details.

    [[FullSearch]]
        displays a search dialog, as it always did

    [[FullSearch()]]
        does the same as clicking on the page title, only that
        the result is embedded into the page (note the "()" after
        the macro name, which is an empty argument list)

    [[FullSearch('HelpContents')]]
        embeds a search result into a page, as if you entered
        "HelpContents" into the search dialog

    $Id: FullSearch.py,v 1.7 2002/03/27 22:41:14 jhermann Exp $
N(   s   configs   users   wikiutil(   s   _s-   ((?P<hquote>[\'"])(?P<htext>.+?)(?P=hquote))|c    s΄     | t j o ! |  i d  Sn $ | i |  } % | o & d | f Sn ( | i d  } ) d }
 * | o - |  i
 i i } . d }
 n 1 t i | d |
 d d \ } } 4 |  i
 i d  } 5 xΆ | D5 ]« \ } }	 } 6 | |  i
 i d  } 7 | t i d t i |	  t i |  f 9 |	  } : | d	 | t d
  t d  g | d j } = | |  i
 i d  } qή W> | |  i
 i d  } @ | Sd  S(   Ns
   fullsearchsH   <p><strong class="error">Invalid FullSearch arguments "%s"!</strong></p>s   htexti    i   s   literals   contexts   %s?action=highlight&value=%ss	    . . . . s    matchs    matches(   s   texts   Nones   macros	   _m_searchs   args_res   matchs   argss   groups   needles   literals	   formatters   pages	   page_names   wikiutils   searchPagess	   pagecounts   hitss   number_lists   results   counts   pagenames   dummys   listitems   link_tags   quoteWikinames   urllibs
   quote_pluss   _(   s   macros   texts   args_res   counts   dummys   hitss   needles	   pagecounts   argss   pagenames   literals   result(    (    sU   /home/ai3/gregs/moin-install/lib/python2.2/site-packages/MoinMoin/macro/FullSearch.pys   execute s*   	$
 +2(   s   __doc__s   res   urllibs   MoinMoins   configs   users   wikiutils   MoinMoin.i18ns   _s   _args_re_patterns   compiles   execute(   s   res   executes   users   wikiutils   _args_re_patterns   configs   _s   urllib(    (    sU   /home/ai3/gregs/moin-install/lib/python2.2/site-packages/MoinMoin/macro/FullSearch.pys   ? s
   	