regex-belt 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -23,9 +23,8 @@ countries.br.cpf.test('123.456.789-09'); // true
23
23
  ### Countries / BR
24
24
 
25
25
  <table>
26
- <tr><th>Name</th><th>Description</th></tr>
27
26
  <tr>
28
- <td><code>cpf</code></td>
27
+ <td><b><a href="./src/regexen/countries/br/cpf.ts"><code>cpf</code></a></b></td>
29
28
  <td>Matches a Brazilian CPF number in the format XXX.XXX.XXX-XX</td>
30
29
  </tr>
31
30
  <tr>
@@ -36,23 +35,22 @@ countries.br.cpf.test('123.456.789-09'); // true
36
35
  ### Datetime
37
36
 
38
37
  <table>
39
- <tr><th>Name</th><th>Description</th></tr>
40
38
  <tr>
41
- <td><code>dashedDateLoose</code></td>
39
+ <td><b><a href="./src/regexen/datetime/dashed-date-loose.ts"><code>dashedDateLoose</code></a></b></td>
42
40
  <td>Matches a date in the format YYYY-MM-DD Valid digits are 0000 to 9999 for year, 01 to 12 for month and 01 to 31 for day</td>
43
41
  </tr>
44
42
  <tr>
45
43
  <td colspan="2"><code>/([0-9]{4}-([0][1-9]|[1][0-2])-([1-2][0-9]|[0][1-9]|[3][0-1]))/</code></td>
46
44
  </tr>
47
45
  <tr>
48
- <td><code>dashedDate</code></td>
46
+ <td><b><a href="./src/regexen/datetime/dashed-date.ts"><code>dashedDate</code></a></b></td>
49
47
  <td>Matches a date in the format YYYY-MM-DD Valid digits are 0000 to 9999 for year, 01 to 12 for month and 01 to 31 for day.</td>
50
48
  </tr>
51
49
  <tr>
52
50
  <td colspan="2"><code>/^([0-9]{4}-([0][1-9]|[1][0-2])-([1-2][0-9]|[0][1-9]|[3][0-1]))$/</code></td>
53
51
  </tr>
54
52
  <tr>
55
- <td><code>isoUtc</code></td>
53
+ <td><b><a href="./src/regexen/datetime/iso-utc.ts"><code>isoUtc</code></a></b></td>
56
54
  <td>Regex that matches a UTC ISO String Date in format YYYY-MM-DDTHH:mm:ss.sssZ</td>
57
55
  </tr>
58
56
  <tr>
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "patterns",
11
11
  "validation"
12
12
  ],
13
- "version": "0.1.4",
13
+ "version": "0.1.5",
14
14
  "sideEffects": false,
15
15
  "type": "module",
16
16
  "author": "Adriano Tirloni",