Back to LanguageTool Homepage - Privacy - Imprint

Range in numbers

Hello @jaumeortola @udomai @tiff

How do I make it possible to check for a number in a certain range?

For example:

27 de janeiro de 1974

How can I check if the first number is between 1 and 31 and the last number equal or above 1974?

This is just an example, there are tons of other usage for knowing how to do it.

Thanks!

Some checks can be done with regular expressions, but not all. What are you trying to do?
We have rules in several languages that check errors for months that cannot have 31 days, 28/29 in February, and so on. These rules can be copied from other languages.

I know @jaumeortola , but I wondered if there was a simpler way.

:smile: :heart: