#7376: searching published worksheets does not work to just search for username
---------------------------+------------------------------------------------
Reporter: jason | Owner: boothby
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.3
Component: notebook | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
---------------------------+------------------------------------------------
Comment(by mpatel):
But:
{{{
#!python
sage: from sagenb.notebook.worksheet import
split_search_string_into_keywords as ss
sage: ss('hello there')
['hello', 'there']
sage: ss(" foo bar 'modular form' hello there")
['modular form', "'", 'hello', 'there']
}}}
[http://pyparsing.wikispaces.com/ Pyparsing] is another alternative.
There's a [http://pyparsing.wikispaces.com/file/view/searchparser.py
search query parser] among the [http://pyparsing.wikispaces.com/Examples
examples]. The license appears to be a modified-BSD license.
Should we add modifiers? For example, the search phrase `"Fourier
user:joe` would restrict the search to worksheets published by Joe. Other
possible modifiers: `title`, `text_cell`, `compute_cell`, `dates`,
`input`, `output`, `collaborators`, `rating`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7376#comment:3>
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
-~----------~----~----~----~------~----~------~--~---