I am trying to understand regular expressions. I am trying to parse data from XML web service using regular expressions. I need your help to understand few regular expressions.
Regular expressions that I need to understand.
1: https://musicbrainz.org/ws/2/artist/?query=ac%5C%2Fdc //What this 'ac%5C%2Fdc' regular expression in query means?
2: http://musicbrainz.org/ws/2/area/?query=%22%C3%8Ele-de-France%22 //What this '%22%C3%8Ele-de-France%22' regular expression in query means?
Those are not regular expressions.
Check on urlencode()
and urldecode()
from PHP to see more clearly your url
https://www.tools4noobs.com/online_php_functions/urlencode/ https://www.tools4noobs.com/online_php_functions/urldecode/
Then, we can't explain you how works the back-end of this website, but basically we can see that it's just basics contains
or equals
query
http://musicbrainz.org/ws/2/area/?query=%22Rhone-Alpes%22
Will return all musics with Rhone-Alpes
mentioned
http://musicbrainz.org/ws/2/area/?query=Rhone-Alpes
Will return all musics with Rhone
or Alpes