Skip to content

"scout" regex escaping #2953

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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