hapyshiv / opendlp

Automatically exported from code.google.com/p/opendlp
0 stars 0 forks source link

adding a validator for ID #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hi
can i add a custom valitator to the code? 

Original issue reported on code.google.com by tzvi.coo...@gmail.com on 25 Apr 2012 at 7:04

GoogleCodeExporter commented 9 years ago
I am not sure what you mean by validator. Do you mean regular expressions? If 
so, you can add them by clicking "Regular Expressions" on the left menu.

Original comment by andrew.O...@gmail.com on 2 May 2012 at 5:06

GoogleCodeExporter commented 9 years ago
hi,thank you very much for the response .by validator i mean - an Algorithm 
like luhn to check other custom regex.for example - israeli ID number uses the 
same luhn-check for validation..is that possible ?
thanks

Original comment by tzvi.coo...@gmail.com on 2 May 2012 at 11:23

GoogleCodeExporter commented 9 years ago
Yes, just add the name of your Israeli ID regular expression to the list of 
credit cards in the policy. OpenDLP will then do a LUHN check on it just as if 
it were a credit card.

Original comment by andrew.O...@gmail.com on 2 May 2012 at 1:36