[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More robust CSL-JSON date parsing in oc-basic
From: |
Nicolas Goaziou |
Subject: |
Re: More robust CSL-JSON date parsing in oc-basic |
Date: |
Tue, 22 Feb 2022 20:01:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
David Lukeš <dafydd.lukes@gmail.com> writes:
> - (car (split-string date "-")))
> + (replace-regexp-in-string
> ".*?\\([0-9]\\{4\\}\\).*" "\\1" date))
> +
[...]
> Let me know which of these changes -- if any -- seem acceptable, and
> whether they qualify as tinychange, and I'll happily submit a proper
> patch :)
All changes sound good. Please use `rx' for the regexp matching the
year.
This is a tinychange. I think this can be applied to the bugfix branch.
Thanks!
Regards,
--
Nicolas Goaziou