Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- card.match?(/\d{16}/)
- => false
- !!(card =~ pattern)
- => true
- !!(pattern =~ card)
- => true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement