Fix bug using PCRE_MULTILINE with a caret

Replace RN to N for patterns with PCRE_MULTILINE modifier.
Merge pull request #6 from ivansky/patch-1

Fix bug using PCRE_MULTILINE with a caret