bug#468: tailing zeros by regexp