node-red / node-red-ui-nodes

Additional nodes for Node-RED Dashboard
Apache License 2.0
122 stars 83 forks source link

node-red-node-ui-table regex problem with ":" #59

Open multixz opened 3 years ago

multixz commented 3 years ago

Which node are you reporting an issue on?

node-red-node-ui-table v0.3.10

What are the steps to reproduce?

Create a ui_table with the "validator": "regex:^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$"

What happens?

The regex works until the colon. After the colon any character is valid. valid inputs:

invalid inputs:

What do you expect to happen?

The Validator should detect the 22:90 and 12abrfvcs as invalid.

Please tell us about your environment:

dceejay commented 3 years ago

looks like it was/is a known problem with the underlying tabulator library. If someone has the time to update the node to try the latest tabulator library and check it doesn't break things it would be much appreciated.

Christian-Me commented 3 years ago

Hope I find some time "soon" ,,,