Ticket #745 (assigned defect)
[Perl 5 syntax highlighting] delimiter used in extended regular expressions displays wrong
| Reported by: | daxim | Owned by: | azawawi |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Syntax Highlighting | Version: | 0.50 |
| Keywords: | Cc: |
Description
If a comment contains a / the highlighting colour indicates that the regex has ended, whilst it continues on subsequent lines. Reported by mberends on IRC.
if ($line =~ m/
^ # beginning of line
(.+)
\/ # this is for the forward slash /
(\S*)
\s* # drops all spaces
(.*)
$ # end of line
/x) {
print "$1 : $2\n";
}
Attachments
Change History
comment:2 Changed 2 years ago by azawawi
This is still bug even in Scintilla 2.27. I think we need to fix it in Wx::Scintilla.
Note: See
TracTickets for help on using
tickets.
