util: make util.debuglog() consistent with doc
Previous realization produces some false positive and false negative results due to: * conflicts between unescaped user input and RegExp special characters; * conflicts between parsing with `\b` RegExp symbol and non alphanumeric characters in section names. The doc does not mention any such restrictions. PR-URL: https://github.com/nodejs/node/pull/13841 Fixes: https://github.com/nodejs/node/issues/13728 Reviewed-By:Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
0ba74dbc
Please register or sign in to comment