Skip to content

Searched text is highlighted in the results #765

@BaraVaq

Description

@BaraVaq

Feature Category

  • New API functionality
  • Performance improvement
  • Developer experience improvement
  • Documentation enhancement
  • Tool/utility addition

Problem Statement

When running:

filings[0].search('repurchase', regex=True)

The result shows numbered text sections, but where in these sections the word appear is unclear.

P.S. when not using regex location indexes are wrong.

Who would benefit from this feature?

  • Beginner Python users working with SEC filings
  • Financial analysts and researchers
  • Advanced developers building financial applications
  • Data scientists working with financial datasets

Proposed Solution

Make the found words highlighted with color for faster finding.
Additionally it would be nice to have not only a number of the section in these blocks but pages from the .html()

Describe alternatives you've considered
Searching in a browser.

Use Case Example

How would you use this feature?

filings[0].search('repurchase', regex=True)

Implementation Considerations

Complexity Level:

  • Simple (minor API addition)
  • Moderate (new functionality with existing patterns)
  • Complex (significant architectural changes)

Backwards Compatibility:

  • This feature maintains backwards compatibility
  • This feature might break existing code (please explain below)
  • Unsure about compatibility impact

Additional Context

Add any other context, screenshots, or examples about the feature request here.

Related Issues/Features:


Feature requests are evaluated based on EdgarTools' core principles: Simple yet powerful, accurate financials, beginner-friendly, and joyful UX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions