Skip to content

Commit

Permalink
[tokenizer] support for cyrillic symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
0exp committed Jun 28, 2019
1 parent b4e48b5 commit d469c69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/jaina/parser/tokenizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module Jaina::Parser::Tokenizer
#
# @api private
# @since 0.1.0
TOKEN_SCAN_PATTERN = /\(|\)|[\<\=\-\>\:\"\'\.\,\w\[\]]+/.freeze
TOKEN_SCAN_PATTERN = /\(|\)|[\<\=\-\>\:\"\'\.\,\w\[\][а-яА-Я]]+/.freeze

# @return [String]
#
Expand Down
2 changes: 1 addition & 1 deletion spec/smoke_test_spec.rb → spec/features_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

describe 'Smoke test' do
describe 'Features' do
specify do
# NOTE: create new expressions
a = Class.new(Jaina::TerminalExpr) { token 'A' }
Expand Down

0 comments on commit d469c69

Please sign in to comment.