Skip to content

Add various overloads such as Match.replaceWith(), which accept lambdas #186

@lukaseder

Description

@lukaseder

A useful method is Match.remove(Filter), which accepts a lambda that can be used to decide whether to remove an element from a Match (and from the underlying document).

Similar, lambda accepting methods would be useful, e.g. for:

  • after()
  • append()
  • attr()
  • before()
  • cdata()
  • content()
  • prepend()
  • rename()
  • replaceWith()
  • text()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions