Skip to content

reverse engineer savename #38

@Datseris

Description

@Datseris

It would be nice to have a function that attempts to reverse engineer a string that is the output of savename. This function would always return prefix, params, suffix with prefix, suffix being strings (if non found then the empty strings) and params always a Dict with String keys (arbitrary choice).

To make this function is easy: first split by the connector argument (by default _), then identify prefix, suffix if any, and then find all the pairs connected by = and make them into the Dict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions