a zip code crypto-currency system good for red ONLY

safe-regex.js 307B

12345678910111213141516
  1. var tape = require('tape')
  2. var safeRegex = require('safe-regex')
  3. var formats = require('../formats')
  4. tape('safe-regex', function (t) {
  5. var key
  6. for (key in formats) {
  7. if (formats[key] instanceof RegExp) {
  8. t.ok(safeRegex(formats[key]), key + ' should be a safe regex')
  9. }
  10. }
  11. t.end()
  12. })