Fill pattern input if provided.

Fixes #34.
Merge pull request #36 from fedora-infra/searchfill

Fill pattern input if provided.