Hi i am new in this world, so i need some help with this. I need to make a program in c++ or c, receive an xml file, and the program count the file labels (<Home> <\Home>) and say how many time repeats the same label.
thanks for the tips bro. But now i'm having a little issue. by example i declare my regular expression like
string regex_str = "[a-z]+";
and in my file i have strings like
So in theory, the regular expression must recognize all expressions in letters between a and z, with all combinations. Interestingly only recognized when a single letter come, is like if my regular expression is [a-z] without +, if I try whit * the same thing happens only recognizes the letter alone. You have some recommendation for this