Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

lint: duplicate character class

  • Loading branch information...
commit 199a6437c32b843ba2c2c20c8b7966db5ceb0826 1 parent 31bfa4e
@nathany nathany authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/coderay/scanners/avrasm.rb
View
2  lib/coderay/scanners/avrasm.rb
@@ -20,7 +20,7 @@ class AVRASM < Scanner
add(PREDEFINED_TYPES, :pre_type).
add(PREDEFINED_CONSTANTS, :pre_constant)
- ESCAPE = / [rbfnrtv\n\\'"] | x[a-fA-F0-9]{1,2} | [0-7]{1,3} /x
+ ESCAPE = / [rbfntv\n\\'"] | x[a-fA-F0-9]{1,2} | [0-7]{1,3} /x
UNICODE_ESCAPE = / u[a-fA-F0-9]{4} | U[a-fA-F0-9]{8} /x
def scan_tokens tokens, options
Please sign in to comment.
Something went wrong with that request. Please try again.