[perl syntax highlighting] regex pattern not recognized

Issue #257 resolved
Anonymous created an issue

=== sample code === http://pygments.org/demo/361/

=== bug === {{{ $portfile =~ s{/Portfile$}{}; # remove trailing '/Portfile' }}}

  • '''s{/Portfile$}{}''' is not recognized as a regex
  • as a result, '''# remove trailing '/Portfile' ''' is not recognized as a comment

Reported by guest