#7313: search_doc does not find phrases across multiple lines
-----------------------------+----------------------------------------------
Reporter: ncohen | Owner: tba
Type: enhancement | Status: positive_review
Priority: minor | Milestone: sage-4.3.2
Component: documentation | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: Mitesh Patel | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Comment(by rossk):
(Confirming positive review).
Tried a number of tests, verified using egrep and all worked (including
using options such as path_re and ignore_case). Representative test below.
{{{
sage: search_src("Labbe",path_re=".*py") # returned a few occurences
including in word.py (not shown)
sage: search_src("Pirillo",path_re=".*py")
combinat/words/word_generators.py:753: - [1] X. Droubay, J.
Justin, G. Pirillo, Episturmian words and some
combinat/words/word_generators.py:756: - [2] J. Justin, G.
Pirillo, Episturmian words and episturmian
combinat/words/word.py:2875: - [3] X. Droubay, J. Justin, G.
Pirillo, Episturmian words and
sage: search_src("Pirillo","Labbe",path_re=".*py") # not found (on same
line)
sage: search_src("Pirillo","Labbe",multiline=True,path_re=".*py") # Expect
one occurence and found one.
combinat/words/word_generators.py
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7313#comment:7>
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.