Re: the inconsistent symbols string: I tested and it looks like there was no functional consequence to that inconsistency. Backslash is still counted as a symbol. preg_quote() in symbol_count.inc may escape the symbols. So I'm wondering if using \\ causes a problem--it may cause the backslash to be escaped twice.
I was confused in #5. There is no functional difference between using \ versus \\. So we might as well be consistent and use \\ in all cases, as you did in #4.
Comments
Comment #2
aohrvetpv commentedComment #3
aohrvetpv commentedComment #4
l0keYou missed second string in
password_policy.testAnd updating
symbol_count.incstring to be consistent.Comment #5
aohrvetpv commentedRe: the inconsistent symbols string: I tested and it looks like there was no functional consequence to that inconsistency. Backslash is still counted as a symbol.
preg_quote()insymbol_count.incmay escape the symbols. So I'm wondering if using\\causes a problem--it may cause the backslash to be escaped twice.Comment #6
aohrvetpv commentedI was confused in #5. There is no functional difference between using
\versus\\. So we might as well be consistent and use\\in all cases, as you did in #4.Comment #7
aohrvetpv commentedComment #9
aohrvetpv commented