Hi all, in this post under Java pattern matching section, I will introduce you to pattern matching and how to use it with instanceof operator. Please don’t confuse java pattern matching with regex pattern matching Regex pattern matching checks whether a given text matches a text pattern and may optionally extract parts of the text.…… Continue reading Pattern matching with instanceof
Month: March 2026
DictionaryRule with TernaryDictionary example
In this post under Passay, I will show with example, how to use “TernaryDictionary” with “DictionaryRule”. For recap, DictionaryRule will check whether the user inputed password matches a word amoung a dictionary of words. If it matches, the validation fails or else passes. The dictionary of words can be implemented in many ways but for…… Continue reading DictionaryRule with TernaryDictionary example