Skip to content

Commit 7ef475c

Browse files
SonnyRRRon Petrusha
authored andcommitted
Fixed misleading remarks about CreditCardAttribute (#3257)
CreditCardAttribute does not use regular expressions for validation.
1 parent d7f08a1 commit 7ef475c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.ComponentModel.DataAnnotations/CreditCardAttribute.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<format type="text/markdown"><![CDATA[
3636
3737
## Remarks
38-
The value is validated using a regular expression. The class does not validate that the credit card number is valid for purchases, only that it is well formed.
38+
The value is validated using a string processing algorithm. The class does not validate that the credit card number is valid for purchases, only that it is well formed.
3939
4040
]]></format>
4141
</remarks>
@@ -101,7 +101,7 @@
101101
<format type="text/markdown"><![CDATA[
102102
103103
## Remarks
104-
The value is validated using a regular expression. The class does not validate that the credit card number is valid for purchases, only that it is well formed.
104+
The value is validated using a string processing algorithm. The class does not validate that the credit card number is valid for purchases, only that it is well formed.
105105
106106
]]></format>
107107
</remarks>

0 commit comments

Comments
 (0)