Campbell Ritchie wrote:Try "\\s+" to split on whitespace (any positive number of characters).
The string "boo:and:foo", for example, yields the following results with these parameters:
Regex Limit Result
: 2 { "boo", "and:foo" }
: 5 { "boo", "and", "foo" }
: -2 { "boo", "and", "foo" }
o 5 { "b", "", ":and:f", "", "" }
o -2 { "b", "", ":and:f", "", "" }
o 0 { "b", "", ":and:f" }
Varuna Seneviratna wrote:If n on the right side in n = n/5 is changed to another variable name no error is given and for another case
public class Emp{
LocalDate birthDay = LocalDate.of(2019, 3, 10) // This also doesn't give an error
}
. The page further says "most of the time people get this message it is because your browser has gone wonky and is trying to do silly things. Please try restarting your browser or trying a different browser to see if the problem persists. If you are still having problems, please contact us with what you were doing when the error occurred along with the date and time (Feb 10, 2019 5:53:17 PM).