#7313: search_doc does not find phrases across multiple lines
-----------------------------+----------------------------------------------
   Reporter:  ncohen         |       Owner:  tba         
       Type:  enhancement    |      Status:  needs_review
   Priority:  minor          |   Milestone:  sage-4.3.2  
  Component:  documentation  |    Keywords:              
     Author:  John Palmieri  |    Upstream:  N/A         
   Reviewer:                 |      Merged:              
Work_issues:                 |  
-----------------------------+----------------------------------------------

Comment(by jhpalmieri):

 > Tested this on sage-4.3.2.alpha0 with trac_7313-multiline.patch (tried
 the patch in ticket #7018 but that had errors)

 (The patch from #7018 is already part of 4.3.2.alpha0, which is probably
 why applying it gave you errors.)

 Since the string "Pseudo-Palindromes" doesn't appear, I think it is
 correct that searching for it returns nothing.  Try this instead:
 {{{
 sage: search_src("Pseudo-", "Palindromes", multiline=True)
 }}}
 Actually, though, Pseudo- and Palindromes appear on the same line, so this
 isn't the best test case.  How about
 {{{
 sage: search_src("Zamboni", "Infinite")

 sage: search_src("Zamboni", "Infinite", multiline=True)
 combinat/words/word.py
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7313#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to