signifying whitespace error
|
| View previous topic :: View next topic |
| Author |
Message |
PMandy
Joined: 05 Jun 2006 Posts: 11
|
| How can I get java to stop yelling at me for using \s in a regular expression to signify a whitespace? |
| |
|
|
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
| \\s . in java source '\' is an escape sign since you want a string that contains \s you have to escpe the \ |
| |
|
|
PMandy
Joined: 05 Jun 2006 Posts: 11
|
I keep getting an error saying that it's not a supported escape sequence
Cool thanks. Yeah ironically I used \" to signify a double quote earlier |
| |
|
|
|
|