I am using split(String regex) method of java.lang.String class. When I use | (pipe) as regex i.e. delimiter the split functin does not work properly. Is it a known bug? If it is any idea how to make it work. I know the workaround I am looking for original fix if it is a bug.