Menu

#29 Need to double escape backslashes

closed-fixed
5
2009-05-05
2009-04-23
Anonymous
No

When working with NSString constants (and C string constants too, I imagine), backslashes must be double escaped--i.e. to match a single literal backslash you need four backslashes '\\\\'. It would be helpful if this was mentioned near where you talk about the need to escape backslashes.

Discussion

  • John Engelhart

    John Engelhart - 2009-05-05
    • status: open --> closed-fixed
     
  • John Engelhart

    John Engelhart - 2009-05-05

    Fixed in 3.0 documentation.

     

Log in to post a comment.