Skip to content

"scout" regex escaping #2953

@whatisaphone

Description

@whatisaphone

Behavior differs from vscode here.

Baseline:

  • Hit ctrl+f to make sure regex is enabled (click the .* icon), then back out with esc
  • Type a(b in a new file, select it with the mouse, and hit ctrl+f
  • When vscode copies the text to the find box, it escapes it, resulting in a\(b

Cursorless:

  • Type a(b in a new file, and say scout three tokens air
  • The text is copied to the find box without escaping: a(b, and the find box will be covered with an error saying the regex is invalid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions