renshi 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/renshi/parser.rb +1 -1
- data/lib/renshi.rb +1 -1
- metadata +1 -1
data/lib/renshi/parser.rb
CHANGED
|
@@ -132,7 +132,7 @@ module Renshi
|
|
|
132
132
|
else #$foo
|
|
133
133
|
|
|
134
134
|
#divide with a delimiter for anything which is not a name character - alpa-numeric and underscore
|
|
135
|
-
words = text[(idx +1)..-1].split(/[^\w."'{}()
|
|
135
|
+
words = text[(idx +1)..-1].split(/[^\w."'{}()+=*\/\-@]/)
|
|
136
136
|
words[0] = "'$'" if words[0] == "$"
|
|
137
137
|
statement_str = words.first
|
|
138
138
|
statement = Statement.new(statement_str)
|
data/lib/renshi.rb
CHANGED