index.js 405 B

1234567891011121314151617181920212223
  1. 'use strict';
  2. /**
  3. * POSIX character classes
  4. */
  5. module.exports = {
  6. alnum: 'a-zA-Z0-9',
  7. alpha: 'a-zA-Z',
  8. ascii: '\\x00-\\x7F',
  9. blank: ' \\t',
  10. cntrl: '\\x00-\\x1F\\x7F',
  11. digit: '0-9',
  12. graph: '\\x21-\\x7E',
  13. lower: 'a-z',
  14. print: '\\x20-\\x7E ',
  15. punct: '\\-!"#$%&\'()\\*+,./:;<=>?@[\\]^_`{|}~',
  16. space: ' \\t\\r\\n\\v\\f',
  17. upper: 'A-Z',
  18. word: 'A-Za-z0-9_',
  19. xdigit: 'A-Fa-f0-9'
  20. };