The testing app separates the command parts by whitespace, then escapes each part. The problem is that you get parts `--display-name='User and One' - and then there is trouble.
The regex needs tto be smarter so that is sees --display-name='User One' as a single match.
Try to use the testing app to do an occ command like:
The testing app separates the command parts by whitespace, then escapes each part. The problem is that you get parts
`--display-name='User
andOne'
- and then there is trouble.The regex needs tto be smarter so that is sees
--display-name='User One'
as a single match.