Behavior has been tested on both Postgresql 10 and Postgresql 12 with same
LC_CTYPE set. Actualy it was the same Windows computer.
The problem might be fixed by using [0-9\.]+ but it does not explain the
different behaviour among Postgres versions.
--
Sent from: https://www.postgresql-archive.org/PostgreSQL-bugs-f2117394.html