In my syntax file I have something like
syn match cleanReal "[+-~]\?\<\d\+\.\d+\(E[+-~]\?\d+\)\?" display hi def link cleanReal Float
Is there a way to get all strings that are matched as
cleanReal from vimscript?
I'm asking because I would like to write a custom command completion function that completes all strings matched by some syntax group.