Skip to content

[Bug] Escaped double single quotes not supported in jaclang #3496

@Thamirawaran

Description

@Thamirawaran

9. Single Quotes and Escapes

Single quotes inside strings are supported:

def simpleReturn() -> str {
    string = "hello 'my' world";
    return string;
}

Escape characters work only when using f-strings:

def simpleReturn() -> str {
    string ="hello \"my\" world";
    return string;
}

Originally posted by @ahzan-dev in #3242

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions