Fixed typo on TextValueSanitizer sample.

Test: is an overkill here
Fixes: 78641592

Change-Id: I968d55830dfe9551eb4d1e1c8cd79651d674f8eb
This commit is contained in:
Felipe Leme
2018-04-26 13:51:14 -07:00
parent eb71027d25
commit f60fb12d39

View File

@@ -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>
*/