search_result_lines: improve interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Freeode |
Fix Released
|
Wishlist
|
Eike |
Bug Description
Improve the way how the pattern are specified.
Improve the way how the patterns are specified.
* Let search_result_lines accept a list of strings to specify the patterns.
* Retain the ability to specify the Patterns as Line objects.
* Change general format of lines: 'label string: 1 2 3 hello world 4 5'
* Label string always ends with colon ':'
* Numbers and strings can be mixed
* Change matching algorithm
* Every field has its own conversion and matching algorithm.
* Strings are matched exactly and need not to be converted
* Numbers are converted to doubles and then compared. They must match up to a tolerance.
* Matching and conversion algorithms for each field are automatically selected when template is
created from a string.
* When explicitly creating a Line object, all details can be explicitly specified:
* expected value
* conversion function
* matching function
* tolerance
- Let search_result_lines accept a list of strings to specify the patterns.
- Retain the ability to specify the Patterns as Line objects.
- Change general format of lines: 'label string: 1 2 3 hello world 4 5'
- Label string always ends with colon ':'
- Numbers and strings can be mixed
- Change matching algorithm
- Every field has its own conversion and matching algorithm.
- Strings are matched exactly and need not to be converted
- Numbers are converted to doubles and then compared. They must match up to a tolerance.
- Matching and conversion algorithms for each field are automatically selected when template is
created from a string.
- When explicitly creating a Line object, all details can be explicitly specified:
- expected value
- conversion function
- matching function
- tolerance
Changed in freeode: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
assignee: | nobody → Eike (eike-welk) |
milestone: | none → 0.4.1 |
importance: | Wishlist → Low |
Changed in freeode: | |
status: | Confirmed → Fix Committed |
Changed in freeode: | |
importance: | Low → Wishlist |
status: | Fix Committed → Fix Released |
description: | updated |