You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current rules language requires a whitespace aware parser in two places. This issue is about the separation between assertions. Say you have the following rules syntax:
Without a whitespace-aware parser, it's impossible to detect the beginning and end of the second path reference: is it /path/to/value/two and /path/to/value/three? or /path and /path/to/value/two/path/to/value/three? Or /path/to/value /two/path/to/value/three
I would propose a ';' as separation between assertions. This solves this problem and it quite easy to type. Also it allows you to write statements over multiple lines. But more solutions than this one are possible.
The text was updated successfully, but these errors were encountered:
pieterbos
changed the title
Whitespace aware parser required in rules language for assertion separation
Expression language: Whitespace aware parser required in rules language for assertion separation
Jul 5, 2016
The current rules language requires a whitespace aware parser in two places. This issue is about the separation between assertions. Say you have the following rules syntax:
Without a whitespace-aware parser, it's impossible to detect the beginning and end of the second path reference: is it /path/to/value/two and /path/to/value/three? or /path and /path/to/value/two/path/to/value/three? Or /path/to/value /two/path/to/value/three
I would propose a ';' as separation between assertions. This solves this problem and it quite easy to type. Also it allows you to write statements over multiple lines. But more solutions than this one are possible.
The text was updated successfully, but these errors were encountered: