fix regex responsible for identifying console logging
Merge branch 'issue733' into 1.6.x