Skip to content

Commit 1e2ede2

Browse files
committed
Add description for ASCII & Unicode character escapes
1 parent 9fb78eb commit 1e2ede2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parser/character-class.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const characterClassTextMap = {
1919
'\\cK': '\\v Vertical Tab',
2020
'\\cL': '\\f Form Feed',
2121
'\\cM': '\\r Carriage Return',
22-
'\\xhh': '',
23-
'\\uhhhh': '',
22+
'\\xhh': 'ASCII symbol',
23+
'\\uhhhh': 'Unicode symbol',
2424
}
2525
export type CharacterClassKey = keyof typeof characterClassTextMap

0 commit comments

Comments
 (0)