Issue warning for missing comma between list items bug

后端 未结 3 1773
你的背包
你的背包 2020-12-14 06:53

The Story:

When a list of strings is defined on multiple lines, it is often easy to forget a comma between list items, like in this example

3条回答
  •  青春惊慌失措
    2020-12-14 07:14

    This regular expression will find occurrences of the problem. Just 'search all' files in your project.

    \[("[^"]*",[\s]*)*"[^"]*"[\s]*"
    

    Tested in https://regex101.com/ and NotePad++

提交回复
热议问题