I have some texts separated by whitespaces.
Something like 123 10.03.1 TEXT1 TEXT2 TEXT3 TEXT4 TEXT5 TEXT6 2015/10/10 2012.
I am able to get everything that is not the "TEXT1 TEXT2 TEXT3 TEXT4 TEXT5 TEXT6" i want to repeat the capture group for that text:
TEXT1 TEXT2 TEXT3 TEXT4 TEXT5 TEXT6
I want to repeat the capture group, something like.
(\s*\w)*
But i want to ignore the whitespace Is there a way to just ignore the whitespace on the regex?
I will use the boost::regex_search to get the capture groups. Is there a way to archive that, i tried to use the "?:" on the capture group, but probably i am missing something.
Aucun commentaire:
Enregistrer un commentaire