Skip to content

Replacing with the latest version using refex #734

@Osanosa

Description

@Osanosa

So I did this to save some time
(?<=(?:version\s*=\s*"|^\S+\s*=\s*"))([^"]+)(".*?\n(?:##.*?⬆.*?=\s*"[^"]*".*?\n)*?##.*?⬆.*?=\s*")

And it matches new version one line at a time so it can be replaced without highlighting text manually and erasing it

Image

Hope this will be useful to someone!

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