fix: pattern matching regex fixing