Any way regular expression support could be added for supersearch?
For example when searching for something that uses 2 common words for its name, or 2 strings that are fairly short and often appear as substrings of other words.
For the short string search it would be nice to be able to tell search to not treat the word as a possible substring.
And since sometimes 2 words in a subject might be seperated by something other than a space, regex, or at least a ? single character wild card would be very helpful.
wordA?wordB so you could match
wordA wordB
wordA.wordB
wordA-wordB
wordA_wordB
wordA+wordB
ect
though in most cases I'd prefer to be able to use
wordA.*wordB
or
wordA[ _=-+.,]wordB
and of course there is telling the search to not look treat input as possible substrings
\WwordA\W \WwordB\W
NOTE "wordA" does NOT prevent matching wordAsomeotherstuff
regex (regular expresesions) support for searches
Forum rules
IMPORTANT : Be sure to read the NewsLeecher forums policy before posting.
IMPORTANT : Be sure to read the NewsLeecher forums policy before posting.
-
- Posts: 5
- Joined: Sun Dec 23, 2012 8:51 pm
- Location: Londom, UK
Re: regex (regular expresesions) support for searches
Ditto - I second , SECOND, double second this most excellent suggestion.
I'm pretty sure the underlying code uses regexp ( and if it don't then is should ! )
I'm pretty sure the underlying code uses regexp ( and if it don't then is should ! )