• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regex, is forward slash the problem ?

 
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
Sheriff
Pie
Posts: 49364
62
  • 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