Hi,

I've had a closer look at some of the examples, and I think I'm a bit
closer to the Real Thing now:

> a     matches the word a
> a b   matches the sequence 'ab' (b follows a)
> a,b   matches the word a (X)OR the word b (OR or XOR?)

XOR, but this can probably be used with an arbitrary number of
comma-separated elements. In this case, it matches exactly one of the
elements.

> /a    matches any sequence ending with the word a

a/b matches any sequence starting with a and ending with b.

> a>    matches any sequence starting with the word a

see below.

> (x)   matches the expression x
> [x]   matches the expression x OR the empty string
> a<b   matches a AND b, in any order

Actually, this one looks more like a 'reference' operator, in the
linguistic sense. 'a < b' would match an expression where b is used in
reference to b ("door < red" to match cases where the attribute 'red' is
used in reference to 'door', "go < to" where 'to' is used in reference to
'go', etc). "go [<to]" appears to be a common example for this.

I assume that '>' is a generic forward reference operator. IMHO, This can
be emulated sufficiently by matching a> to any sequence starting with 'a',
at least in english.

Again, these are my current assumptions, not canonical truths.

llap,
 Christoph


Reply via email to