I'm working on an app that receives feedback from customers via email about a particular product. Currently I'm using java matcher and pattern classes to use regex's to parse certain snippets and keywords.
GIVEN: Customers email us from any email client all over the world (except APAC).
ASK: Do I need to prefix all my my regex's with \\p{L} and/or \\p{M} or can I just use
\\Q<my regex>\\E (wrap my regex with \\Q and \\E)?
\Qand\Eare here to quote a string literal within a regex (likePattern.quote()as the answer says)