simple test of regex in java