Do backreferences work when using Perl regexes?
In an HTML file, when trying to find matching tags and everything in between, the following regular expression
<(\w+)>.*?</\1>
gives an "invalid regular expression" error.
In an HTML file, when trying to find matching tags and everything in between, the following regular expression
<(\w+)>.*?</\1>
gives an "invalid regular expression" error.