Talk:$Search

Extending

There are plenty of things we want/need added into searches, since they are our basic querying/broadcast tool in DC. For example:

Exact size match. Regular Expressions. Query by hash.

Or, categorized into more general groups of functionality:

  • More powerful search expressions
  • Meta-data support

Add suggestions on how do these things.

One way is to just encode metadata searches using longer strings, like bcdc++ does for now: HASH-TTH:<base32-hash>

One way to make the search expressions more complex is to add regular expression support; however stay away from Perl expressions (PCRE), they may interfere with currently working search terms. The only problem is it may help people who are trying to get around search restrictions.

$ man regex

Seems you need to "escape" brackets with that syntax, which could help prevent interference.

Personal tools