https://bugs.kde.org/show_bug.cgi?id=450478

            Bug ID: 450478
           Summary: Bad bash highlighting with tilde and regexp
           Product: kate
           Version: 21.12.2
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kwrite
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: loh....@googlemail.com
  Target Milestone: ---

Try this this with bash highlighting

if [[ ! ("${argument}" =~ ^[1-9]+[0-9]*$) ]] ; then
    # This comment is not (all) grey. Removing this ' apostrophe helps next
line 
    echo this line is all red, and next too
    # The ; after ]] in first line is red 
    # Removing ~ from =~ in first line helps with too much red
    # but the regexp is then all thin/black


KDE Frameworks Version: 5.91.0

Some years ago all was fine can't say when it starts
PS Sorry, can't find syntax component as bug addressee

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to