If I wanted to match all strings that do not contain “01” from any combinations of 1’s and 0’s how can I do this? I know how to find if this pattern IS in the string, but how can I find matches that do NOT contain this pattern? Thanks
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If I’m not mistaken, this can only happen if the string (of length 1 or bigger):
Is there any other possibility?
If that’s the case, then
Anyway, in the practical sense, I’d just negate the match.