lib/formulae/parse/formula_peg.txt in rubyfromexcel-0.0.9 vs lib/formulae/parse/formula_peg.txt in rubyfromexcel-0.0.10
- old
+ new
@@ -31,10 +31,10 @@
row_range := row `':' row
area := reference `':' reference
cell := reference
row = /\$?\d+/
column = /\$?[A-Za-z]{1,3}/
-reference = /\$?[A-Za-z]{1,3}\$?[0-9]+/
+reference = /\$?[A-Za-z]{1,3}\$?[0-9]+(?![0-9A-Za-z_])/
boolean = boolean_true | boolean_false
boolean_true := `'TRUE'
boolean_false := `'FALSE'
prefix := /[-+]/ thing
space = `/[ \n]*/