I wonder if anyone can give me some feedback on my replace metadata syntax. I am attempting to normalize my ratings across sites and when scraping Not Rated fics it is applying "Not Mature".
Code:
rating=>^Everyone|P?G(.*)?|FR7|K\+?|Young Teens?$=>General Audiences
rating=>^15|FR13|FR15|T|Teens?\+?|PG-13(.*)?$=>Teen And Up Audiences
rating=>^FR18|M(ature)?|R(.*)?$=>Mature
rating=>^Adult( Only)?|FR21|NC.?17(.*)?|X(.*)?$=>Explicit
rating=>^$=>Not Rated
rating=>^Unrated$=>Not Rated
Thank you
Edit: I did isolate the issue which was the (.*)? in the =>Mature line. I am curious however if there is a way to structure that so it will catch "R", "R Rated", and "R - Restricted" without spelling them all out.