Hello, I´m trying to make a regular expression to match a whitespace and so far I´m doing this:
Powered[\s]*[bB]y.*MyBB
I know it should work because I've tried it with Regex Buddy and it says it does but when I try to run it with Eclipse it marks an error saying it's not a valid escape sequence and it automatically adds 2 ´\´ rendering the regex useless....could someone tell me what to do? I've so far ended up using a point instead of \s but what I really need is the \s...
Thanks
Added:
Well, I understand but, I though '\s
' is used for any whitespace character and as I said, Regex Buddy also recognizes it as such, and if I use '\s
' it is not recognized in Regex Buddy hence the test fails, but in eclipse it allows me to go on, even though it matches nothing... =/ or did I not get something?