#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 rossk):
Tested this on sage-4.3.2.alpha0 with trac_7313-multiline.patch
(tried the patch in ticket #7018 but that had errors)
Look for occurrences of "Pseudo". We find two occurrences.
{{{
sage: search_src("Pseudo-")
combinat/words/word.py:2655: - [2] V. Anne, L.Q. Zamboni, I.
Zorca, Palindromes and Pseudo-
combinat/words/word.py:2656: Palindromes in Episturmian and
Pseudo-Palindromic Infinite Words,
rings/all.py:122:# Pseudo-ring of PARI objects.
databases/compressed_storage.py:113: Pseudo-acquisition for base's
stuff that we don't
}}}
Next, search for a multiline ocurrence of "Pseudo-Palindromes" which
should occur over lines 2655-2656 in word.py according to the last search.
(Note: the 2nd line is prefixed with whitespace)
{{{
sage: search_src("Pseudo-Palindromes", multiline=True) # finds nothing
}}}
Not sure if the problem is due to the patch mentioned in #7018 needs
including and updating for alpha0, or this ticket needs more work or
theres something Ive missed.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7313#comment:4>
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.