I’m using the boost library for regular expression.
What is the use of “!” mark in the Perl regular expression?
What does it denote?
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.
By itself it means nothing special, it just matches
!. It can be combined with other symbols to mean other things:(?!...)is a negative lookahead – it matches if the following characters do not match the “…” portion(?<!...)is a negative lookbehind – it matches if the preceding characters do not match the “…” portion