* should be signed
* remove boolean modifiers that cna be replaced by istrue/isfalse
* added exists check on string, removed isfalse check on boolean since it the same as istrue but inverting the true/false strings
* add ::exists conditional modifier to date since {file.deletesAt} can be null
* Fix parser regex
before this fix, here `{file.createdAt::locale::it-IT,Europe/Rome}{file.id}` it would matcg `it-IT,Europe/Rome}{file.id` as locale timezone
here `{file.name::exists["yes"||"no"]}{file.originalName::exists["yes"||"no"]}` it would match `yes"||"no"]}{file.originalName::exists["yes"||"no` as `mod_check_true` group
* Forgot `\` before first `{` in the regex
* add conditional mods to originalName too, fix regex not matching when true/false string had "\n", fix "::exists" matching on string when they were "null"
---------
Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
* should be signed
* remove boolean modifiers that cna be replaced by istrue/isfalse
* added exists check on string, removed isfalse check on boolean since it the same as istrue but inverting the true/false strings
* add ::exists conditional modifier to date since {file.deletesAt} can be null
* Fix parser regex
before this fix, here `{file.createdAt::locale::it-IT,Europe/Rome}{file.id}` it would matcg `it-IT,Europe/Rome}{file.id` as locale timezone
here `{file.name::exists["yes"||"no"]}{file.originalName::exists["yes"||"no"]}` it would match `yes"||"no"]}{file.originalName::exists["yes"||"no` as `mod_check_true` group
* Forgot `\` before first `{` in the regex
* should be signed
* remove boolean modifiers that cna be replaced by istrue/isfalse
* added exists check on string, removed isfalse check on boolean since it the same as istrue but inverting the true/false strings