In a C# class, I came across this regular expression:
<?>?=?\d{4}
It is pretty obvious that its last part (\d{4}) matches 4 decimal digits but what about <?>?=?? What does it match?
Thanks for any explanations.
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.
Four digits at the end preceded by the
<,>and=occurring zero or once in that order.Match: