NC flag is not required and last rules doesn't require L flag

There are no literals in the pattern that requires case insensitivity and the L flag on the last rule is redundant IIUC.