Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
Follow-up changes for complete globbing.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed May 22, 2002
1 parent 23649fb commit 819fcc7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions IIndex.py
Expand Up @@ -46,8 +46,6 @@ def search_glob(pattern):
example, "foo*" represents the set of all words in the lexicon
starting with "foo".
NOTE: Currently only a single trailing * is supported.
Return an IIBTree mapping docid to score.
"""

Expand Down
2 changes: 0 additions & 2 deletions ILexicon.py
Expand Up @@ -42,8 +42,6 @@ def globToWordIds(pattern):
The argument should be a single word using globbing syntax,
e.g. 'foo*' meaning anything starting with 'foo'.
NOTE: Currently only a single trailing * is supported.
Return the wids for all words in the lexicon that match the
pattern.
"""
Expand Down
2 changes: 1 addition & 1 deletion QueryParser.py
Expand Up @@ -52,7 +52,7 @@
- words connected by punctuation implies phrase search, e.g. ``foo-bar''
- a leading hyphen implies NOT, e.g. ``foo -bar''
- these can be combined, e.g. ``foo -"foo bar"'' or ``foo -foo-bar''
- a trailing * means globbing (i.e. prefix search), e.g. ``foo*''
- * and ? are used for globbing (i.e. prefix search), e.g. ``foo*''
"""

import re
Expand Down

0 comments on commit 819fcc7

Please sign in to comment.