QIF: Replicate the fix from r17998 in two other QIF-related places.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17999 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Charles Day 2009-03-22 17:48:34 +00:00
parent dfa30891c7
commit 77c174f5c0
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
(define qif-category-compiled-rexp
(make-regexp "^ *(\\[)?([^]/\\|]*)(]?)(/([^\\|]*))?(\\|(\\[)?([^]/]*)(]?)(/(.*))?)? *$"))
(make-regexp "^ *(\\[)?([^]/|]*)(]?)(/([^|]*))?(\\|(\\[)?([^]/]*)(]?)(/(.*))?)? *$"))
(define qif-date-compiled-rexp
(make-regexp "^ *([0-9]+) *[-/.'] *([0-9]+) *[-/.'] *([0-9]+).*$|^ *([0-9][0-9][0-9][0-9])([0-9][0-9])([0-9][0-9]).*$"))

View File

@ -79,7 +79,7 @@ static void
compile_regex()
{
regcomp(&category_regex,
"^ *(\\[)?([^]/\\|]*)(]?)(/([^\\|]*))?(\\|(\\[)?([^]/]*)(]?)(/(.*))?)? *$",
"^ *(\\[)?([^]/|]*)(]?)(/([^|]*))?(\\|(\\[)?([^]/]*)(]?)(/(.*))?)? *$",
REG_EXTENDED);
qifp_regex_compiled = TRUE;