Skip to content

Add helper to escape enhanced text #75

Description

@zmughal

I have to test this some more, but this could be useful as a utility method when dealing with string interpolation:

# escapes enhanced text for Gnuplot
my $escape_enhtext = sub { shift =~ s,([{}^_@&~\\]),\\$1,gr };

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