Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

How to switch Safari to a normal web page searching instead of finding only whole words?

Ex: there ase some words on a page: hello_world, ask_different. When I search for hello, world, ask, different - i search perfectly. But when I'm trying to search ello, ifferent, etc. - it gives me nothing.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

The find banner was set to match the starts of words by default in Safari 5.1:

This makes it default to Contains:

defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false

You have to quit and reopen Safari to apply the changes.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.