Merge "Fixed CharSequenceTransformation to use find() instead of matches()." into oc-mr1-dev

This commit is contained in:
TreeHugger Robot
2017-09-08 19:08:06 +00:00
committed by Android (Google) Code Review

View File

@@ -86,7 +86,7 @@ public final class CharSequenceTransformation extends InternalTransformation imp
}
try {
final Matcher matcher = field.first.matcher(value);
if (!matcher.matches()) {
if (!matcher.find()) {
if (sDebug) Log.d(TAG, "match for " + field.first + " failed on id " + id);
return;
}