BBEdit bug report

Date: 2011-09-23 05:14 am (UTC)
karzilla: a green fist above the word SMASH! (Default)
From: [staff profile] karzilla
(Submitted via http://www.barebones.com/contact/technical.html)

I just noticed a bug in the Perl syntax coloring engine. If a hash key is the bare string 's' (without the quotes), it is treated as the substitution operator instead of a hash key. Adding unnecessary quotes around the 's' works around the problem.

I am using the most recent version (10.0.1).

Examples of incorrectly colored code follow:

dblog( $u, { s => $subject } );

This will "eat" all subsequent syntax coloring until the parser sees two more = symbols.

chomp $info->{s};

Same, except looks for subsequent } symbols.

Thanks for listening.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Page generated Feb. 15th, 2026 06:59 pm
Powered by Dreamwidth Studios