Skip to content

Improve the way finders are defined #71

@ali1234

Description

@ali1234

Finder("100\x02ARD/ZDF\x07Mo 26.12.88\x0222:00:00",

Currently finders use two strings. One contains a literal example of a header and the other contains special characters that define how the header can vary. It works well for UK Teletext/Oracle/Ceefax but has problems with other broadcasts from countries:

  • No way to define numeric month/year dates.
  • Text patterns expect the English spellings.
  • The system is quite confusing to use.

One possible way to improve the finders would be to use regular expressions. This would allow any arbitrary type of header to be matched. However the finder needs to do fuzzy matching with ranking based on the type of match. Also, regular expressions would probably be even harder to understand - although they are at least a standard rather than something I have made up.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions