Fix conflict between clearIfNotMatch and translation.optional
Unit tests
Unit tests
Merge pull request #170 from kassner/master

Conflict with clearIfNotMatch and optional patterns