This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Java in General and the fly likes Regex, is forward slash the problem ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regex, is forward slash the problem ? " Watch "Regex, is forward slash the problem ? " New topic
Author

Regex, is forward slash the problem ?

Grace Green
Ranch Hand

Joined: Nov 08, 2010
Posts: 79


it never matches ... what am I overlooking ?
Grace Green
Ranch Hand

Joined: Nov 08, 2010
Posts: 79
solution:

Harsha Smith
Ranch Hand

Joined: Jul 18, 2011
Posts: 287
is compilation the problem?

String line won't compile
Harsha Smith
Ranch Hand

Joined: Jul 18, 2011
Posts: 287
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44031
    
  33
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.
 
Have you checked out Aspose?
 
subject: Regex, is forward slash the problem ?
 
It's not a secret anymore!