Add pattern permitted params

Line is too long. [135/80]<br>Avoid using `rescue` in its modifier form.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.