diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2017-09-03 10:46:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-03 10:46:00 +0200 |
commit | 90f68d65c09851fa8bf2c37bc5982d3e25b80de1 (patch) | |
tree | 7d6e227ca9be49a7be1750b60c34e03337056a53 /lib | |
parent | 860c2e132d2eed2b10285276fb6d1ca509f56cdc (diff) | |
parent | eb3f281428d59760271c757287066d39430449ae (diff) | |
download | coderay-90f68d65c09851fa8bf2c37bc5982d3e25b80de1.tar.gz |
Merge pull request #212 from t-gergely/java-nonascii
allow for non-ASCII identifiers
Diffstat (limited to 'lib')
-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..5fde433 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 = /[[[:alpha:]]_][[[:alnum:]]_]*/ # :nodoc: protected |