[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cti-cybox] CybOX Patterning question
John-Mark wrote: There is also the point that some qualifiers make sense to be greedy,
REPEAT and
START/STOP, while
WITHIN be non-greedy as it doesn't make sense to apply to only one Observation _expression_. I would prefer NOT to split these as it will confuse writers and readers
of these patterns. Yes, they could be described w/ a simple precedence table, but that would just add another rule that people have to memorize. I put my vote in to make the grammar explicitly indicate the precedence difference with WITHIN… Greg Back suggested something like this: observation_expression : observation_expression ((“FOLLOWEDBY” | “ALONGWITH”) observation_expression)*
within_qualifier? Also I prefer option #2… Rich |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]