Skip to content

Quoted strings that start with true-, false- or a number are improperly highlighted #29

@jasonkradams

Description

@jasonkradams

Example Code:

when HTP_REQUEST priority 500 {
    puts "true-broken"
    puts "false-broken"
    puts "trueworks"
    puts "falseworks"
    puts "0-broken"
    puts "0broken"
    puts "9-broken"
    puts "10-broken"
    puts "20020982347928735023947851034958723049572304957812034broken"
}

These should all be highlighted as a quoted string.

image

Edit: It appears that -true- or -false- or -[[:digit:]]- can appear anywhere in the string:

when HTP_REQUEST priority 500 {
    puts "a-true-b-false-a-1-c-12345-d $what true false "
}

image

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