View Single Post
Old 06-06-2020, 03:42 AM   #4166
Loba
Enthusiast
Loba began at the beginning.
 
Loba's Avatar
 
Posts: 29
Karma: 10
Join Date: Sep 2016
Device: PW2 Wifi-4GB
Quote:
Originally Posted by JimmXinu View Post
R(.*)?$ is matching 'Rated' and replacing it with Mature.

Applying grouping forces it to treat the $ anchor for the whole pattern, not just the last part:

Code:
 rating=>^(FR18|M(ature)?|R(.*)?)$=>Mature
That does the trick! Thanks for the quick answer
Loba is offline   Reply With Quote