Kaya-Sem / commandtrein

CLI tool for SNCB timetables and routes.
GNU General Public License v3.0
5 stars 1 forks source link

Add filtering to station search #17

Open Kaya-Sem opened 3 months ago

Kaya-Sem commented 3 months ago

Not just dumping all stations. Allow to filter, perhaps by giving a string with the command, where internally, it regex matches (lowercase)

  1. For increased searching, match first on word Uppercase, and append to options
  2. regex case insensitive
  3. split word into multiple pieces, regex match