const tabsAndSpaces = / \t/ const tabsSpacesAndNewLines = /\s/
If you find yourself needing to match the hex values for some reason, consider adding a skipcq comment to inform readers about the use-case. This will also prevent DeepSource from raising the issue.
const rSpaces = /\x1a/; // A regex like this one is rarely useful: const regExp = new RegExp("\x12");
const rSpaces = / /; const regExp = new RegExp("[\sa-z]+no-control-chars-here");