• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regex, is forward slash the problem ?  RSS feed

 
Grace Green
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


it never matches ... what am I overlooking ?
 
Grace Green
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
solution:

 
Harsha Smith
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is compilation the problem?

String line won't compile
 
Harsha Smith
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Campbell Ritchie
Marshal
Posts: 55768
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the problem is that we were not shown the real code; I suspect there was a real quote at the end, after that escape-quote.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!