aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: filter search result in realtime  (Read 2324 times)

spiorf

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 73
filter search result in realtime
« on: July 26, 2005, 12:03:21 PM »

Hi,
how about  remove the "filter results" button  in the search tab of amule cvs and use a "realtime" filter?
Logged
Alcohol, the cause of, and solution to, all of lifes problems...

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: filter search result in realtime
« Reply #1 on: July 26, 2005, 05:12:37 PM »

Because the filters are regular-expressions and wx pops up a nice error-dialog if it isn't a valid expression.
Logged

spiorf

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 73
Re: filter search result in realtime
« Reply #2 on: July 26, 2005, 06:34:03 PM »

There is no way to tell wx to accept only some chars in a textbox?
anyway, the filter function is great!!  :D
Logged
Alcohol, the cause of, and solution to, all of lifes problems...

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: filter search result in realtime
« Reply #3 on: July 26, 2005, 07:15:59 PM »

Well, the problem is, I'd have to implement parsing of reg-exp strings for that to work, and that is just plain silly. And you are not going to convince me to either give up regular expression matching or implementing my own parsing. :P
Logged