PMO-2651 pattern length incorrect. Boundary wrong, corrected and test case added.
new plugin version 1.8.15