op(“base1 something with spaces”)
returns an object for
op(“base1”)
imho it should return None
op(“base1 something with spaces”)
returns an object for
op(“base1”)
imho it should return None
Hi Achim.
This is because both op and ops accept patterns as arguments.
And patterns may be space separated:
op(‘geo*’)
op(‘a b c[1-3]’, ‘d’, ‘e f g’, ‘h*’)
etc
In each case it will return the first operator that fits, or None.
I’ve updated the wiki with more examples.
Cheers
Sorry about that. Should have checked the docs