Skip to content

Improve item recognition in "case … esac" statement (in particular, fix issue #77)

Gaël Bonithon requested to merge neyfag/gtksourceview:patch-1 into master
  • Fix issue #77 (closed) (exclude variable assignment from item recognition)
  • Allow quoted items to contain spaces

A detail: I don't know how to enable backreferences in regex (or if it is possible in this project), so I left this pattern as is:

'[^)]+'|"[^)]+"

With backreferences, this would be simpler:

(['"])[^)]+\1

Merge request reports