My regex skill is so so. I am now having to do a very large project with it, where the pattern text is very very long.
suppose the job is to detect the positive words such as "appropriate", "good buy", value & <positive>, etc.
do I concatenate the individual match groups (appropriate)+(good buy)+(value <positive>)+...?
here <positive> itself is one of many possible matches:
the whole list is a few KB.
how would I go about expressing this whole pattern text and compile in the java Pattern class?