我需要在一个字符串中匹配冒号(“:”),但不应匹配被引号(“或'字符)包围的冒号。
因此,以下字符串应该有两个匹配项。
something:'firstValue':'secondValue'
something:"firstValue":'secondValue'
但这应该只有1个匹配
something:'no:match'