OpenVoiceOS / OpenVoiceOS/ovos-date-parser

Incorrect regex pattern in decade_format in fr-fr/date_time.json

Open
#31 0 comments 0 reactions 2 assignees View on GitHub

@goldyfruit is already working on this.

Since Nov 7, 2024.

fr
Dominant language
Python
Stars
0
Forks
8
Avg merge
7h 9m
Merged PRs (30d)
17

Description

An incorrect regex pattern is present in the decade_format in fr-fr/date_time.json. The pattern [2-6|8] incorrectly uses the | character inside a character class. It should be corrected to [2-68] to match digits 2 through 6 and 8.

Referenced in PR #1: https://github.com/OpenVoiceOS/ovos-date-parser/pull/1

Comment URL: https://github.com/OpenVoiceOS/ovos-date-parser/pull/1#discussion_r1831942342

Reported by @JarbasAl.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.