I'm a little concerned about `bottle_regex` being a free-floating `def` without a class or module. Possibly we should reference the `Pathname::BOTTLE_FILENAME_REGEX` directly?