Skip to content

Commit

Permalink
Remove the original SEPRS statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jmortlock committed Dec 19, 2016
1 parent 06366ae commit 5270373
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/sensitive_data_filter/types/credit_card.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module SensitiveDataFilter
module Types
module CreditCard
SEPARATORS = /[\s-]/
SEPRS = SEPARATORS.source + '*'
CARD_16_DIGITS = /\d{4} #{SEPRS} \d{4} #{SEPRS} \d{4} #{SEPRS} \d{4}/
CARD_13_DIGITS = /\d{3} #{SEPRS} \d{3} #{SEPRS} \d{3} #{SEPRS} \d #{SEPRS} \d{3}/
CARD_14_DIGITS = /\d{4} #{SEPRS} \d{6} #{SEPRS} \d{4}/
Expand Down

0 comments on commit 5270373

Please sign in to comment.