Is it possible to match and get the capture groups of compound title case words?
ie: This is a FooBar test
So FooBar is matched and the capture groups are Foo and Bar.
I have this ([A-Z][a-z]+){2,}
which matches but only captures 1 group Bar
I'm using the Lucene regular expression engine.
Thanks