how can I check if the string is matched with an expression using regex c++ (its for robots.txt parser)
eg:
string will be an url
http://www.google.com/example/e/se/in
/*/e/*
means i need to match with the url if it is present or not ....normal query like /example/
can be matched using substring but ..how can i parse some thing similar to this
google.com/asd/aa/asdalso*means "match zero or more of the preceding", not "match any string" like it does with globs. Change*to.*in both instances.