| Summary: | Not possible to specify if filters are AND or OR combined | ||
|---|---|---|---|
| Product: | [Technology] NatTable | Reporter: | Dirk Fauth <dirk.fauth> |
| Component: | GlazedLists Extension | Assignee: | Dirk Fauth <dirk.fauth> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.0.3 | ||
| Target Milestone: | 2.0.4 | ||
| Hardware: | PC | ||
| OS: | Windows 10 | ||
| See Also: |
https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/196861 https://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=05475afee9d892a0e1bbf62af1988b9bd62b654c |
||
| Whiteboard: | |||
|
Description
Dirk Fauth
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/196861 Gerrit change https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/196861 was merged to [master]. Commit: http://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=05475afee9d892a0e1bbf62af1988b9bd62b654c It is now possible to specify a two-character regex as delimiter, e.g. "[&\\|]". The first character will be treated as AND and the second parameter will be treated as OR. Using this type of delimiter results in the following:
> 100 & < 200 = greater than 100 AND less than 200
< 100 | > 200 = less than 100 OR greater than 200
As the pipe is actually also a special character that is treated as OR in a regular expression, there is now also a handling in the filter string parsing that blocks the delimiter.
Bart|Lisa will result in a filter whether there is Bart OR Lisa, but there will be two GlazedLists Matchers because of the split.
(Bart|Lisa) will also result in a filter for Bart OR Lisa, but there will be only on GlazdLists Matcher. And that one will only work if TextMatchingMode.REGULAR_EXPRESSION is configured.
Released with 2.0.4 |