diff options
| author | 2018-06-08 17:20:27 +0000 | |
|---|---|---|
| committer | 2018-06-08 17:20:27 +0000 | |
| commit | c5b828df68460fac58964222d0c4b805e63e4081 (patch) | |
| tree | 3a3a4a26bd59654ccca5182281ff55ab26b5a490 | |
| parent | 551328eaaa90e770076079a80f8c4e4565787493 (diff) | |
| parent | f60fb12d39774e2f626660d357a4384cdaf0e72c (diff) | |
Merge "Fixed typo on TextValueSanitizer sample." into pi-dev
| -rw-r--r-- | core/java/android/service/autofill/TextValueSanitizer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/service/autofill/TextValueSanitizer.java b/core/java/android/service/autofill/TextValueSanitizer.java index e5ad77a1e8d6..a8c080a17818 100644 --- a/core/java/android/service/autofill/TextValueSanitizer.java +++ b/core/java/android/service/autofill/TextValueSanitizer.java @@ -37,7 +37,7 @@ import java.util.regex.Pattern; * <p>For example, to remove spaces from groups of 4-digits in a credit card: * * <pre class="prettyprint"> - * new TextValueSanitizer(Pattern.compile("^(\\d{4})\\s?(\\d{4})\\s?(\\d{4})\\s?(\\d{4})$", + * new TextValueSanitizer(Pattern.compile("^(\\d{4})\\s?(\\d{4})\\s?(\\d{4})\\s?(\\d{4})$"), * "$1$2$3$4") * </pre> */ |