[Home]Searching on Wikipedia

HomePage | Recent Changes | Preferences

Difference (from prior major revision) (minor diff, author diff)

Added: 0a1,2
The following instructions are for the old slow search. The new faster search is less powerful and works very differently.


Added: 4a7,8
* Another notable difference is that there are no implied boundaries around the search pattern. "utter" will not only find the word "utter", but "rutter", "utterance", ... as well. To force a word boundary, use "\b", as in "\butter\b" which will only find the word "utter".


Changed: 11c15,16
* To find all articles which contain the words "Turing" and "homosexuality" in that order, you could search for "Turing(.|\n)*homosexuality". If you only searched for "Turing.*homosexuality", then the two words would have to appear in a single line of the article's wiki source, or in its title.

* To find all articles which contain the words "Turing" and "homosexuality" in that order, you could search for "(?s)Turing.*homosexuality". If you only searched for "Turing.*homosexuality", then the two words would have to appear in a single line of the article's wiki source, or in its title.

Changed: 15c20
* You can use the full power of (Perl 5) regular expressions.
* You can use the full power of (Perl 5) regular expressions.

The following instructions are for the old slow search. The new faster search is less powerful and works very differently.

Here are some things to keep in mind when using the Wikipedia search box that appears at the bottom of every page.

Questions for the esteemed readership:


/Talk

HomePage | Recent Changes | Preferences
This page is read-only | View other revisions
Last edited November 6, 2001 8:54 pm by Zundark (diff)
Search: