gallium/util: replace common codes with one method
There are some common codes for checking the format should be separated or not in several methods, We should replace the common code with one abstracted method.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
There are some common codes for checking the format should be separated or not in several methods, We should replace the common code with one abstracted method.