lib/formulae/parse/formula_peg.rb in rubyfromexcel-0.0.9 vs lib/formulae/parse/formula_peg.rb in rubyfromexcel-0.0.10
- old
+ new
@@ -187,10 +187,10 @@
def column
terminal(/\$?[A-Za-z]{1,3}/)
end
def reference
- terminal(/\$?[A-Za-z]{1,3}\$?[0-9]+/)
+ terminal(/\$?[A-Za-z]{1,3}\$?[0-9]+(?![0-9A-Za-z_])/)
end
def boolean
boolean_true || boolean_false
end