Merge "Fixed typo on TextValueSanitizer sample." into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c5b828df68
@@ -37,7 +37,7 @@ import java.util.regex.Pattern;
|
|||||||
* <p>For example, to remove spaces from groups of 4-digits in a credit card:
|
* <p>For example, to remove spaces from groups of 4-digits in a credit card:
|
||||||
*
|
*
|
||||||
* <pre class="prettyprint">
|
* <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")
|
* "$1$2$3$4")
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user