Commit 8ac9aef8 authored by Francesco Trotta's avatar Francesco Trotta Committed by Node.js GitHub Bot
Browse files

lib: fix regular expression to detect `/` and `\`

Fixes #40305

PR-URL: https://github.com/nodejs/node/pull/40325


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarAntoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: default avatarGuy Bedford <guybedford@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarZeyu Yang <himself65@outlook.com>
parent f233cb2c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment