-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update templates #472
Update templates #472
Conversation
c1e2d33
to
60aebd5
Compare
60aebd5
to
8ade57f
Compare
fields: | ||
amount: | ||
parser: regex | ||
regex: Total to pay EUR\s+(\d?.?\d{1,4}[,]\d{2}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 .?
was probably meant to be \.?
2. [,]
can be simplified to ,
type: float | ||
amount_tax: | ||
parser: regex | ||
regex: \d{2}[%]\s+\w\s+\d{1,4}[,]\d{2}\s+(\d{1,4}[,]\d{2}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can probably just use %
instead of [%]
(same applies to [,]
and other regexes below)
I know it's still a draft, but I took a quick look at it anyway, I hope you don't mind |
No you're welcome. Last period, I start using this lib a lot. Learned so much more about regexes. |
141df51
to
67b2940
Compare
Just an update on some templates