Skip to content

Commit

Permalink
Merge pull request #212 from t-gergely/java-nonascii
Browse files Browse the repository at this point in the history
allow for non-ASCII identifiers
  • Loading branch information
korny authored Sep 3, 2017
2 parents 860c2e1 + eb3f281 commit 90f68d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/coderay/scanners/java.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Java < Scanner
'"' => /[^\\"]+/,
'/' => /[^\\\/]+/,
} # :nodoc:
IDENT = /[a-zA-Z_][A-Za-z_0-9]*/ # :nodoc:
IDENT = /[[[:alpha:]]_][[[:alnum:]]_]*/ # :nodoc:

protected

Expand Down

0 comments on commit 90f68d6

Please sign in to comment.