We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d666db4 commit ed9ed68Copy full SHA for ed9ed68
lib/coderay/scanners/php.rb
@@ -210,7 +210,7 @@ module RE # :nodoc:
210
211
HTML_INDICATOR = /<!DOCTYPE html|<(?:html|body|div|p)[> ]/i
212
213
- IDENTIFIER = 'ä'[/[[:alpha:]]/] == 'ä' ? Regexp.new('[[:alpha:]_[^\0-\177]][[:alnum:]_[^\0-\177]]*') : Regexp.new('[a-z_\17f-\xFF][a-z0-9_\x7f-\xFF]*/', true)
+ IDENTIFIER = 'ä'[/[[:alpha:]]/] == 'ä' ? Regexp.new('[[:alpha:]_[^\0-\177]][[:alnum:]_[^\0-\177]]*') : Regexp.new('[a-z_\x7f-\xFF][a-z0-9_\x7f-\xFF]*', true)
214
VARIABLE = /\$#{IDENTIFIER}/
215
216
OPERATOR = /
0 commit comments