Closed ehfeng closed 5 years ago
Can you add a test which verifies that this fixes #1253?
I'm closing this because we need something way more generic that checks on arbitrary word boundaries. Also we don't want to have this kind of logic in SDKs in the future anyways.
Current regex does not match against credit card numbers in the stack local values, because they are wrapped in single quotes:
'4242424242424242'
. It could be that credit card numbers should always be represented as integers, but it seems harmless to catch this case as well.Fixes #1253