Hiii,
I have an example here:
(e1) - [:(Causal|Result|SubEvent)*0..1] -> ()
(e:Type1|Type2) - [:Next] -> (e2)
I want to extract (e1)
, ()
in first example and (e:Type1|Type2)
, (e2)
in example 2.
there are just some alpha character and :
and |
inside the round brackets
I have tried: ((.*))
but its gonna get until the final close bracket.