2 ms·
Yep, and the .* means "0 or more of anything", so it's 4 or more groups that each end with a letter. They can be consecutive or not and a group can be a single
by Izkata 2y ago
Yep, and the .* means "0 or more of anything", so it's 4 or more groups that each end with a letter. They can be consecutive or not and a group can be a single letter but doesn't need to be - so whatever the failure was, it wasn't that (or the regex was typo'd here to be correct instead of what was actually on the site).
- account42 2y agoThe regexp still requires four letters before the last digit or special character which is a weird requirement.
- GrantMoyer 2y agoThe (?=…) are "lookaheads". They match the enclosed pattern without advancing the cursor.