It’s not about button mashing, it’s about declarative programming. You don’t know it yet, but you want to use Regexes, and you want other people around you to use Regexes, too. I’ll tell you how they work, why they are the best thing since higher-order functions, and how to use them right. You’ll love it!
125. function r(re, flags = 'u') {
return new RegExp(
re
.replace(/^(?<regex>.*)(?<!)#.*$/gm, '$<regex>')
.replace(/#/gm, '#')
.replace(/s/gm, ''),
flags
);
}
126. [2020-09-11T15:57:20.848Z - 099fe80d-7e11-4c47-9bbf-2372bd6b2527: 108ms]
200 OK GET /configuration-tree/8 <- http://web.app.ui/ 178.133.180.67
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0)
Gecko/20100101 Firefox/82.0'
{"id":1,"email":"andrei.listochkin@viravix.com",...}
127. [Time in UTC - Request ID: Response Time]
[2020-09-11T15:57:20.848Z - 099fe80d-7e11-4c47-9bbf-2372bd6b2527: 108ms]
Status Code and Message Request Method and Path <- Refer URL User IP
200 OK GET /configuration-tree/8 <- http://web.app.ui/ 178.133.180.67
User Agent
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0)
Gecko/20100101 Firefox/82.0'
Session Token
{"id":1,"email":"andrei.listochkin@viravix.com",...}