mirror of
https://github.com/vim/vim.git
synced 2026-10-31 15:15:29 +01:00
This is a combination of the following changes:
Problem: PyYAML timestamp matching scans positions that cannot begin a
timestamp.
Solution: Check for a leading digit before timestamp boundary matching.
Problem: The PyYAML integer and floats pattern repeats the optional
sign in each alternative.
Solution: Match the optional sign once before the alternatives.
closes: #21521
Signed-off-by: Julien Voisin <julien.voisin@dustri.org>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>