Skip to content

perhaps SC2140 should be suppressed for "\"" case #3507

Description

@John-L

For new checks and feature suggestions

Here's a snippet or screenshot that shows a potential problem:

[sed-test.sh](https://github.com/user-attachments/files/30521071/sed-test.sh)

#!/bin/sh
``sed -rn "s/.*?\ssrc="\""(.*?)"\""\s.*?/\n==>\\1 /gIp" <"jufr/index.html"

#### Here's what shellcheck currently says:
SC2140 (warning)


#### Here's what I wanted to see:
[no error]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions