Fixing up bag regex