I always completely lose regular expressions, so I hope someone here can help.
Joomla uses this regular expression to check the lines of ini files:
/^(|(\[[^\]]*\])|([AZ][A-Z0-9_\-]*\s*=(\s*(("[^"]*")|(_QQ_)))+))\s*(;.*)?$/
Lines have this format.
JLIB_LOGIN_AUTHENTICATE="Username and password do not match or you do not have an account yet."
Obviously, " may not be allowed in terms of values, but may be \" . This currently matches the aforementioned regular expression. I see how this is consistent, but I canโt change the regular expression so that it doesnโt match. \" I tried to add |(\Q\"\E) to different places, but no luck.
source share