Fixed case-sensitive matching for magazines and improved regex capabilities by removing whitespace.