Regular Expression Template Archive
ATL / WTL / STL
2
Posts
2
Posters
15
Views
1
Watching
-
Has someone experience with greta? void example() { string sText="er.r.n.i.e"; match_results results; rpattern pat("(\\w+\\.)+"); match_results::backref_type brip = pat.match(sText, results); for(int i=0;i
Idefix wrote: I think the parser works but how can i get the single items? Is that possible? Try: rpattern pat("{\\w+}\\."); iterate through your string and extract the text matching the {} tag. Note that I don't know Greta, but this is what you would do with a typical Regex. Idefix wrote: Where can I find more documention and information? Have you tried: http://research.microsoft.com/projects/greta/gretauserguide.htm[^] Neville Franks, Author of ED for Windows. www.getsoft.com