• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Throw an exception if an unterminated substitution expression found (REnamer, bc345ad)

Created 1/18/2008, updated 3/5/2024
  • snippets

This brings us into line with the behaviour of Perl, which will emit a "Substitution replacement not terminated at line x" message in such a case.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Add NSString category for checking substitution validity (REnamer, 3e9e2db)
Refactoring of bundle-locating code (REnamer, 2425af5) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).