fix(invidious): fix float formating (#5841)
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
Accepted formats are:
|
||||
|
||||
- Integers (eg `1`, `2`)
|
||||
- Floats (eg `1.25`, `1.50`)
|
||||
- Floats (eg `1.25`, `1.50`, `2.5`)
|
||||
|
||||
Regex used to match those: `^[0-9]+(\.[0-9]*)?$`
|
||||
You can try live [here](https://regex101.com/r/jnZ19W/1)
|
||||
Regex used to match those: `^[0-9]+(\.[0-9]{1,2})?$`
|
||||
You can try live [here](https://regex101.com/r/4HI4wW/1)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user