Hi all,
I have a process which checks users email and password against predefined patterns. So far over 50 patterns have been implemented. The process itself is a black box. I pass users email and password as a singlestring sepatated by TAB and list of regex (one for each pattern). If there's a match pattern id is returned. Now I got a request to implement a new pattern which I have problem with. The pattern is
- Check if the first 8 charachters of email address is the same as the first 8 charachters of password. Email is in any case; password is upper case. Converting input string to upper/lower case is not an option as it would break other patterns.
Any help would be appreciated.
Thanks in adwance
ID