[Bug 393515] pattern definitions in one file