SONARPLUGINS-2891 NPE thrown by the 'RegularExpressionCheck' rule