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

Add NSString category for checking substitution validity (REnamer, 3e9e2db)

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

This adds a isValidSubstitutionExpression method to NSString.

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

← Teach WORegularExpression to handle invalid substitution expressions (REnamer, 354d493)
Throw an exception if an unterminated substitution expression found (REnamer, bc345ad) →

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).