Skip to content

v1.10.1

Choose a tag to compare

@github-actions github-actions released this 07 Oct 16:25
· 51 commits to main since this release

This release fixes how bes-actionscript-validate-script reads an escaped regex quantifier inside a {...} substitution.

⚠️ Upgrade notes

  • E509 findings on lines with an escaped regex quantifier go away. If you added a skip marker or --disable E509 to get past them, you can remove it.
  • E508 can now fire where it used to pass, on an unclosed substitution that contains an escaped quantifier. These lines already failed at runtime; the hook was missing them.

Fixed (bes-actionscript-validate-script)

  • E509 false positive: an escaped regex quantifier such as {3}}, {1,3}} or {2,}} inside a {...} substitution is no longer misread. This is a regex "..." literal's {3} with its } written as the escape }}. The hook used to skip the quantifier first, which left the second } to close the substitution early, so every later } on the line was reported as stray. Outside a substitution, {3}} is handled as before.
  • E508 is now reported for an unclosed substitution that contains an escaped quantifier, such as wait echo {(regex "a{3}}". The same misread used to close it early, so nothing was reported.

Full Changelog: v1.10.0...v1.10.1