User story #3616
open
add some hints near regex search field
Added by Fabrice FLORE-THÉBAULT over 11 years ago.
Updated over 8 years ago.
Category:
Web - Nodes & inventories
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.
Related issues
1 (1 open — 0 closed)
- 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 ?
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.
Oh, and at least for the doc, it should defenilty go to the 2.4 one.
- Target version set to Ideas (not version specific)
Also available in: Atom
PDF