Merge "Fixed CharSequenceTransformation to use find() instead of matches()." into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
48bf1ca5d4
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user