fix pattern for database names
use regex which was suggested by dragotin
Merge pull request #632 from owncloud/fix_629

fix pattern for database names - #629