User story #3616
openadd some hints near regex search field
Description
Let's seérch something using a regex.
Which sort of regex are we using.
Should we write 10.0.0.*
or 10\.O\.0\..*
To help the user remember, it would be a nice feature to have some hint with an example nearby.
Updated by Nicolas CHARLES over 11 years ago
- Project changed from 30 to Rudder
- Category set to Web - Nodes & inventories
Agreed too ! Both in doc AND on the webapp
Thank you Fabrice !
Jon, do you think we should correct this in 2.4, or say it's a new feature for 2.7 ?
Updated by François ARMAND over 11 years ago
That's a really nice one.
As a note for the future people who will find that, the answer is that we exactly use Java regex, as explain here: http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html
So for an IP Address, you should write: 10\.O\.0\..*
But obviously, 10.0.0.* will work, because the ".*" is a valid patter. 10.0.0 will not.
For the target, I would say that it's not really a bug, but as it may be kind of blocking from an user point of view, and it is not to impacting from code (I mean, we are not modifying of configuration are applied), it should go in 2.4. On the other hand, I'm generally to lenient about what should go in stable release.
Updated by François ARMAND over 11 years ago
Oh, and at least for the doc, it should defenilty go to the 2.4 one.
Updated by Benoît PECCATTE over 8 years ago
- Target version set to Ideas (not version specific)