Regular expression not accepted in Java

Printable View