mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
dfa30891c7
commit
77c174f5c0
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
(define qif-category-compiled-rexp
|
(define qif-category-compiled-rexp
|
||||||
(make-regexp "^ *(\\[)?([^]/\\|]*)(]?)(/([^\\|]*))?(\\|(\\[)?([^]/]*)(]?)(/(.*))?)? *$"))
|
(make-regexp "^ *(\\[)?([^]/|]*)(]?)(/([^|]*))?(\\|(\\[)?([^]/]*)(]?)(/(.*))?)? *$"))
|
||||||
|
|
||||||
(define qif-date-compiled-rexp
|
(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]).*$"))
|
(make-regexp "^ *([0-9]+) *[-/.'] *([0-9]+) *[-/.'] *([0-9]+).*$|^ *([0-9][0-9][0-9][0-9])([0-9][0-9])([0-9][0-9]).*$"))
|
||||||
|
@ -79,7 +79,7 @@ static void
|
|||||||
compile_regex()
|
compile_regex()
|
||||||
{
|
{
|
||||||
regcomp(&category_regex,
|
regcomp(&category_regex,
|
||||||
"^ *(\\[)?([^]/\\|]*)(]?)(/([^\\|]*))?(\\|(\\[)?([^]/]*)(]?)(/(.*))?)? *$",
|
"^ *(\\[)?([^]/|]*)(]?)(/([^|]*))?(\\|(\\[)?([^]/]*)(]?)(/(.*))?)? *$",
|
||||||
REG_EXTENDED);
|
REG_EXTENDED);
|
||||||
|
|
||||||
qifp_regex_compiled = TRUE;
|
qifp_regex_compiled = TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user