I have a pattern " -[^ ]* ", the quotes are here to show the spaces. I want to match everything after it until this pattern again is encountered
something like this
(?<= -[^ ]* )[^( -[^ ]* )]*
or in a compact form
p = ( -[^ ]* )
(?<=p)[^p]*
the problem is that i cannot use * inside (?<= -[^ ]* ) statement and i cannot use () in [^( -[^ ]* )]. In both cases these characters are treated literally