Htaccess Negative Lookahead Issue

     

This is a very specific issue to my hobby website.


I have this code in my htaccess:


RewriteRule  (?!assets|404|i|chats|books|forum|blog|help|terms|policy|jobs|settings|reset|signup|signin|signout)([ /]+)$ profile_home.php?userdomain=$1 [L]  RewriteRule  (?!assets|404|i|chats|books|forum|blog|help|terms|policy|jobs|settings|reset|signup|signin|signout)([ /]+)/([ /]+)$ profile_home.php?userdomain=$1&selection=$2 [L]  

Now this for the most works perfectly I can visit all of those links (url/404 url/i