Why is it counter intuitive?
/(?<!\d)\d{8}(?!\d)/, here (?<!\d) comes first, but called lookbehind, (?!\d) next, but called lookahead. All are counter intuitive.
What’s the reason to name it this way?
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.
It’s counterintuitive because there is no consensus whether time goes from front to back or back to front and you simply has a different mindset.
In English we say “Leave the past behind“, yet “past” is something that happens “before” (fore = front).