Project: springxd
Issue XD-224: Reduce necessity for quoting in parameter values in DSL expressions
parameter values that include spaces need to be quoted, but this becomes overly complex in this kind of case. Here is what you want to say: {code} http --port=9995 | filter --expression=payload.matches('hello world') {code} With the rule 'parameter values that contain spaces must be quoted' it would be this: {code} http --port=9995 | filter --expression='payload.matches('hello world')' {code} But then to include single quotes within a single quoted string you need to use two of them: '' - so it becomes {code} http --port=9995 | filter --expression='payload.matches(''hello world'')' {code} Less than ideal.
Story points: 2