Skip to content

Commit 199a643

Browse files
committed
lint: duplicate character class
1 parent 31bfa4e commit 199a643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/coderay/scanners/avrasm.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class AVRASM < Scanner
2020
add(PREDEFINED_TYPES, :pre_type).
2121
add(PREDEFINED_CONSTANTS, :pre_constant)
2222

23-
ESCAPE = / [rbfnrtv\n\\'"] | x[a-fA-F0-9]{1,2} | [0-7]{1,3} /x
23+
ESCAPE = / [rbfntv\n\\'"] | x[a-fA-F0-9]{1,2} | [0-7]{1,3} /x
2424
UNICODE_ESCAPE = / u[a-fA-F0-9]{4} | U[a-fA-F0-9]{8} /x
2525

2626
def scan_tokens tokens, options

0 commit comments

Comments
 (0)