If any person shall be or stand committed or detained for any crime, unless (a) for felony the punishment of which is death or treason, plainly expressed in the warrant of commitment, (b) charged as accessory before the fact to treason or felony the punishment of which is death or (c) charged with suspicion of treason or felony which is punishable with death, which shall be plainly expressed in the warrant of commitment, he shall be entitled to the writ of habeas corpus.
S.C. Code § 17-17-10