Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
405 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * POSIX character classes
|
---|
5 | */
|
---|
6 |
|
---|
7 | module.exports = {
|
---|
8 | alnum: 'a-zA-Z0-9',
|
---|
9 | alpha: 'a-zA-Z',
|
---|
10 | ascii: '\\x00-\\x7F',
|
---|
11 | blank: ' \\t',
|
---|
12 | cntrl: '\\x00-\\x1F\\x7F',
|
---|
13 | digit: '0-9',
|
---|
14 | graph: '\\x21-\\x7E',
|
---|
15 | lower: 'a-z',
|
---|
16 | print: '\\x20-\\x7E ',
|
---|
17 | punct: '\\-!"#$%&\'()\\*+,./:;<=>?@[\\]^_`{|}~',
|
---|
18 | space: ' \\t\\r\\n\\v\\f',
|
---|
19 | upper: 'A-Z',
|
---|
20 | word: 'A-Za-z0-9_',
|
---|
21 | xdigit: 'A-Fa-f0-9'
|
---|
22 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.