action #53402
open
[beginner] Not possible to search for test suites (again?) using regex, e.g. `^gnome$`
Added by okurz almost 6 years ago.
Updated about 3 years ago.
Category:
Regressions/Crashes
- Related to action #51719: "New Test Suite " button in admin/test_suites can not be used with filter added
- Related to action #52232: UI: search for testsuite settings only on current page vs. only 100 jobs per page possible added
Regex works but for some reason but for some reason a whitespace is appended to the end. So e.g. ^gnome $
would do what you've expected.
- Priority changed from Normal to Low
Likely a data tables bug, e.g. one can reproduce it as well in their examples: https://datatables.net/examples/api/regex.html
But it is only reproducible using the global search. They somehow implemented that "column boundaries" can be "crossed" using one ore more white spaces, e.g. ^value1 value2 $
would match if one column contains value1
and a subsequent (but not necessarily adjacent) column contains value2
. Likely this extra handling adds the requirement to put a space before $
. Not sure whether this can be easily fixed from our side and whether it is worth the effort.
Since regex works in general I'm lowering the priority.
- Assignee deleted (
mkittler)
- Status changed from New to Workable
- Target version set to future
- Tags set to ui, ux, beginner, entrace level
- Subject changed from Not possible to search for test suites (again?) using regex, e.g. `^gnome$` to [beginner] Not possible to search for test suites (again?) using regex, e.g. `^gnome$`
- Description updated (diff)
Also available in: Atom
PDF