mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-29 16:29:19 -05:00
simplify regex
This commit is contained in:
@@ -638,5 +638,5 @@ namespace ts.NavigationBar {
|
||||
*
|
||||
* does not match.
|
||||
*/
|
||||
const whiteSpaceRegex = /(\s|\t|\n|\r)+/g;
|
||||
const whiteSpaceRegex = /\s+/g;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user