diff options
author | t-gergely <kelevel+github@gmail.com> | 2017-07-04 17:01:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-04 17:01:52 +0200 |
commit | eccb20a661eaed79cbd987a524579da92edcbf9c (patch) | |
tree | 92eefdf5d1002ea5da51454d240a9d853e7df990 /lib/coderay/scanners | |
parent | 368a28e26944edb5e6a59356d50683400695ab65 (diff) | |
download | coderay-eccb20a661eaed79cbd987a524579da92edcbf9c.tar.gz |
allow for non-ASCII identifiers
Diffstat (limited to 'lib/coderay/scanners')
-rw-r--r-- | lib/coderay/scanners/java.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/java.rb b/lib/coderay/scanners/java.rb index 962154e..b40d4a6 100644 --- a/lib/coderay/scanners/java.rb +++ b/lib/coderay/scanners/java.rb @@ -44,7 +44,7 @@ module Scanners '"' => /[^\\"]+/, '/' => /[^\\\/]+/, } # :nodoc: - IDENT = /[a-zA-Z_][A-Za-z_0-9]*/ # :nodoc: + IDENT = /[\p{L}_][\p{L}_0-9]*/ # :nodoc: protected |