This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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 Russo
Ranch Hand

Joined: Nov 08, 2010
Posts: 64


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

Joined: Nov 08, 2010
Posts: 64
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: 39084
    
  23
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.
 
GeeCON Prague 2014
 
subject: Regex, is forward slash the problem ?