Closed
Bug 86433
Opened 23 years ago
Closed 15 years ago
[Request Feature] Regular Expressions in Search PlugIns
Categories
(SeaMonkey :: Search, enhancement)
SeaMonkey
Search
Tracking
(Not tracked)
RESOLVED
EXPIRED
People
(Reporter: m.wawoczny, Unassigned)
References
Details
(Keywords: helpwanted)
Hello!
Nice feature would be regular expressions in search plugins, sometimes hardcoded
HTML in "resultListStart" and "resultListEnd" can't be used, then we could use
regular expressions. For example:
Category extraction - without regular expressions won't work on search engines
which format category list like this:
<A HREF="http://some.site.com/Computers/">Computers</A> & <A
HREF="http://some.site.com/Computers/PC/">PC</A> & <A
HREF="http://some.site.com/Computers/PC/Pentium/">Pentium</A>
And how get last category? Without regular expressions U can't.
U can try setting resultListStart="</A> & " and resultListEnd="</A>" but this
will extract link to http://some.site.com/Computers/PC/ and not for
http://some.site.com/Computers/PC/Pentium/
But when U make resultListRegularExpression="\& <A HREF=\"(.+)\">.+</A>$" (or
similar - didn't tested this) - this shuld extract last link -
http://some.site.com/Computers/PC/Pentium/
Best Regards
Marek Wawoczny
would this require that the search engine support regular expression? Does
sherlock need to be changed to support this?
Reporter | ||
Comment 2•23 years ago
|
||
Probably sherlock need to be changed in some way. I think that the best way is
to add tag "resultListRegularExpression" and then engine would search the page
(returned from search engine) for specific pattern (defined in
resultListRegularExpression tag) if regular expression is matched then result
(URL) is passed to mozilla search engine in the same way like result from
"resultListStart" and "resultListEnd" tags. I'm not a programmer, but think that
this should work.
Keywords: helpwanted
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Updated•23 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
Comment 3•23 years ago
|
||
this should be added for the banner too... I think that every type should have a
RE variant AND a RE variant for a Begin&end like this:
ResultItemStart="<br>"
ResultItemEndRE="[0-9]*/[0-9]*/[0-9]*"
RelevanceRE="[0-9]*%"
Is this bug asking for regular expression searching via the find command? If so
may I suggest that the find command in mozilla feature a check boxes the tells
find to search using regular expressions. Like the check box for Match
upper/lower case
Comment 6•22 years ago
|
||
No, it is to enable search plugins (see the searchplugins directory in your
mozilla) to find results using regular expressions.
Comment 7•22 years ago
|
||
An excellent testcase would be zdnet downloads:
http://downloads-zdnet.com.com/3150-2029-0.html. Every category and subcategory
has a different html file 3150-2069-0.html, 2001-2049-0.html etc... Here, the
regular expressions would be needed to match in the "alsomatch" attribute.
Otherwise you would end with hundreds of "alsomatch" URLs. Also consider that
for all of these variations, you can have several "branded" zdnet "resellers"
like netscape, where the URL changes in
http://netscape.com.com/2001-2025-0.html. And I guess there are many more brandings.
Updated•22 years ago
|
Assignee | ||
Updated•16 years ago
|
Product: Core → SeaMonkey
Updated•16 years ago
|
Assignee: samir_bugzilla → nobody
QA Contact: claudius → search
Target Milestone: Future → ---
Comment 8•15 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
Comment 9•15 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Comment 10•15 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Comment 11•15 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Comment 12•15 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Comment 13•15 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Comment 14•15 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Comment 15•15 years ago
|
||
MASS-CHANGE:
This bug report is registered in the SeaMonkey product, but still has no comment since the inception of the SeaMonkey project 5 years ago.
Because of this, we're resolving the bug as EXPIRED.
If you still can reproduce the bug on SeaMonkey 2 or otherwise think it's still valid, please REOPEN it and if it is a platform or toolkit issue, move it to the according component.
Query tag for this change: EXPIRED-20100420
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → EXPIRED
You need to log in
before you can comment on or make changes to this bug.
Description
•