Skip to content

Commit 3f4e3e0

Browse files
committed
Merge branch 'master' of github.com:rubychan/coderay
2 parents f16a659 + 90f68d6 commit 3f4e3e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/coderay/scanners/java.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Java < Scanner
4444
'"' => /[^\\"]+/,
4545
'/' => /[^\\\/]+/,
4646
} # :nodoc:
47-
IDENT = /[a-zA-Z_][A-Za-z_0-9]*/ # :nodoc:
47+
IDENT = /[[[:alpha:]]_][[[:alnum:]]_]*/ # :nodoc:
4848

4949
protected
5050

0 commit comments

Comments
 (0)