Add custom validator to fix multiline behaviour when working with strings
Adds a custom validator to fix unclosed brackets/parenthesis in strings triggering multiline behaviour, also makes it so the multiline behaviour accounts for all 3 string delimiters rather than only '"'.