In fact the $error is not the regex I want to match, but the other way round. I want to match the key of my hash as a regex to the error I get from Net::LDAP.
I apologize for the confusion.
In reply to Re^2: regex match multiple line
by natxo
in thread regex match multiple line (updated question)
by natxo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |