1. Jesper Noehr
  2. pygments5
  3. Issues
Issue #257 resolved

[perl syntax highlighting] regex pattern not recognized

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