How to create a function that identifies me if my pass starts with a letter or a number?

How to create a function that identifies me if my pass starts with a letter or a number?

Could you please make an example of what should be considered good and what bad?

abcd - good
1234 - good
?abc - bad?

Like this?
I forgot to implement the “regex match” block, please open an issue on github and I will add it.
For now you can use this snippet to do it (simply paste it at the start of the LoliCode script)

bool good = System.Text.RegularExpressions.Regex.IsMatch(input.PASSWORD, "^[A-Za-z0-9]");
BLOCK:Keycheck
  banIfNoMatch = False
  KEYCHAIN FAIL OR
    BOOLKEY @good Is False
ENDBLOCK
1 Like