Skip to content

Regular expression $ can't handle crlf at end of line #13680

Open
@b-van-b

Description

@b-van-b

Summary

Selecting characters at the end of a line with $ doesn't work if the line ends in Windows-style crlf.

Reproduction Steps

I tried this:

I expected this to happen:

The numbers at the end of each line should be selected.

Instead, this happened:

Nothing is selected.

Helix log

Nothing is logged for this event.

Platform

Linux / Windows

Terminal Emulator

Windows Terminal v1.22.11141.0

Installation Method

scoop (Windows) / dnf (Fedora)

Helix Version

helix 25.01.1 (e7ac2fc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-commandArea: CommandsC-bugCategory: This is a bugE-good-first-issueCall for participation: Issues suitable for new contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions