Mercurial > pyarq-presupuestos
diff Generic/fiebdc.py @ 19:bea86fd8dfc6
- in float
author | Miguel Ángel Bárcena Rodríguez <miguelangel@obraencurso.es> |
---|---|
date | Wed, 03 Sep 2014 12:14:04 +0200 |
parents | 878159a13494 |
children | f5ec50b625d1 |
line wrap: on
line diff
--- a/Generic/fiebdc.py Thu Nov 28 12:54:42 2013 +0100 +++ b/Generic/fiebdc.py Wed Sep 03 12:14:04 2014 +0200 @@ -3,7 +3,7 @@ ## File fiebdc.py ## This file is part of pyArq-Presupuestos. ## -## Copyright (C) 2010-2013 Miguel Ángel Bárcena Rodríguez +## Copyright (C) 2010-2014 Miguel Ángel Bárcena Rodríguez ## <miguelangel@obraencurso.es> ## ## pyArq-Presupuestos is free software: you can redistribute it and/or modify @@ -103,7 +103,7 @@ "control_backslash" : re.compile(ur"((\r\n)| |\t)+\\"), "valid_code" : re.compile(u"[^A-Za-z0-9ñÑ.$#%&_]"), "special_char": re.compile(u"[#%&]"), - "no_float": re.compile(u"[^0-9.]"), + "no_float": re.compile(u"[^\-0-9.]"), "formula" : re.compile(u".*[^0123456789\.()\+\-\*/\^abcdp ].*"), "comment": re.compile(u"#.*\r\n"), "empty_line": re.compile(ur"(\r\n) *\r\n"),