Test data:
TESTING: FIRST SECOND THIRD
TESTING:
TESTING: ANY NUMBER OF WHOLE WORDS
flibble:
...should give the following:
- List: [FIRST,SECOND,THIRD]
- List: Empty
- List: [ANY,NUMBER,OF,WHOLE,WORDS]
- No match
I thought something like this might work:
TESTING:(\s(\w+))*
...but I'm unsure how to make those extra words capture repeatedly. My attempt above doesn't seem to work.