Skip to content

Support custom paired delimiters #666

Open
@NikolaiKircher

Description

@NikolaiKircher

Use Case:

Given(/^We navigate to the homepage$/) do
  driver.navigate.to "http://google.com/"
end

I would like to be able to comfortably select the text We navigate to the homepage

Solution: Custom paired delimiters

One possible solution would be to introduce the ability to define custom paired delimiters

Similar to the way take inside box works - it selects everything between [ and ], i would like to be able to define a new paired delimiter.

e.g. take inside regex should select everything between ^ and $
or maybe even with multiple characters: take inside stepdefinition to select everything between (/^ and $/)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions