I want to split the string using space and single quote. But two single quotes should be ignored.
Input:
name eq 'a''b'
Output should be:
name
eq
a''b
I tried to use
[^\\s\"(?<!')'(?!')]+|\"[^\"]*\"|(?<!')'(?!')[^(?<!')'(?!')]*(?<!')'(?!')"
but it does not work.