node_modules: update
This commit is contained in:
parent
4a21c51f2f
commit
b91baffed3
107 changed files with 3886 additions and 2943 deletions
13
node_modules/fast-redact/lib/rx.js
generated
vendored
13
node_modules/fast-redact/lib/rx.js
generated
vendored
|
|
@ -1,3 +1,16 @@
|
|||
'use strict'
|
||||
|
||||
module.exports = /[^.[\]]+|\[((?:.)*?)\]/g
|
||||
|
||||
/*
|
||||
Regular expression explanation:
|
||||
|
||||
Alt 1: /[^.[\]]+/ - Match one or more characters that are *not* a dot (.)
|
||||
opening square bracket ([) or closing square bracket (])
|
||||
|
||||
Alt 2: /\[((?:.)*?)\]/ - If the char IS dot or square bracket, then create a capture
|
||||
group (which will be capture group $1) that matches anything
|
||||
within square brackets. Expansion is lazy so it will
|
||||
stop matching as soon as the first closing bracket is met `]`
|
||||
(rather than continuing to match until the final closing bracket).
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue